Opened 9 years ago
Closed 7 years ago
#9101 closed Bugs (fixed)
__DragonFly__ preprocessor macro not defined for VC++
Reported by: | Owned by: | pmenso57 | |
---|---|---|---|
Milestone: | To Be Determined | Component: | preprocessor |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
7>c:\users\ian\dev\tensor\main\code\external\boost\latest\boost\detail\endian.hpp(50): warning C4668: 'DragonFly' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' (main.cpp)
The other ones are (NetBSD, FreeBSD, ANDROID, etc.), so I assume it is an oversight. And causes C4668 as you can see.
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Owner: | changed from | to
---|
comment:3 by , 7 years ago
The file boost/detail/endian.hpp no longer exists in the latest Boost. For Boost 1.54 changing lines 49-50 from:
#elif defined(__NetBSD__) || defined(__FreeBSD__) || \ defined(__OpenBSD__) || (__DragonFly__)
to:
#elif defined(__NetBSD__) || defined(__FreeBSD__) || \ defined(__OpenBSD__) || defined(__DragonFly__)
fixes this warning problem.
comment:4 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Note -- the ticket system has stripped the double-underscore that proceeds and follows each macro name.