Subject: [Boost-bugs] [Boost C++ Libraries] #8737: Notepad++ and MinGW boost/asio ERROR
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-27 03:13:26
#8737: Notepad++ and MinGW boost/asio ERROR
------------------------------+----------------------------
Reporter: anonymous | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.53.0 | Severity: Problem
Keywords: |
------------------------------+----------------------------
When compiling the first tutorial using notepad++ as a text editor and
MinGW compiler i get this long scary list of errors
In file included from
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/
boost/asio/basic_datagram_socket.hpp:18:0,
from
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/
boost/asio.hpp:20,
from asioOne.cpp:2:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/boost/asio/detail/conf
ig.hpp:207:5: warning: #warning Please define _WIN32_WINNT or
_WIN32_WINDOWS app
ropriately. [-Wcpp]
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/boost/asio/detail/conf
ig.hpp:208:5: warning: #warning For example, add -D_WIN32_WINNT=0x0501 to
the co
mpiler command line. [-Wcpp]
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/boost/asio/detail/conf
ig.hpp:209:5: warning: #warning Assuming _WIN32_WINNT=0x0501 (i.e. Windows
XP ta
rget). [-Wcpp]
C:\Users\COMPUTER\AppData\Local\Temp\ccrLdVld.o:asioOne.cpp:(.text+0x188):
undef
ined reference to `boost::system::generic_category()'
C:\Users\COMPUTER\AppData\Local\Temp\ccrLdVld.o:asioOne.cpp:(.text+0x192):
undef
ined reference to `boost::system::generic_category()'
C:\Users\COMPUTER\AppData\Local\Temp\ccrLdVld.o:asioOne.cpp:(.text+0x19c):
undef
ined reference to `boost::system::system_category()'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:
C:\Users\C
OMPUTER\AppData\Local\Temp\ccrLdVld.o: bad reloc address 0xe in section
`.text$_
ZN5boost6system14error_categoryD2Ev[__ZN5boost6system14error_categoryD2Ev]'
collect2.exe: error: ld returned 1 exit status
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8737> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC