Borland settings different between Boost and IDE ?

Hallo, is it possible that Boost libraries use a different setting for enum handling than the BCB IDE default one? I'm having problems which seem related to enums and the inclusion of some Boost headers in precompiled headers. Cheers, Nicola Musatti

Boost uses -b- AFAICT, which is make enums byte-sized when possible. Not sure what the IDE default is (that can easily be changed by changing compiler options when no project is opened, so I think I have changed my default. I have my own set of boost wrappers which I include instead of the actual boost headers. the wrap each header in #pragma option push -b- -a8 -pc -A- -Ve -Vx #include original header #pragma option pop (I'm still running with 1.30.2 so haven't tried 1.31 which has this in-built for you). Cheers Russell Nicola Musatti wrote:
Hallo, is it possible that Boost libraries use a different setting for enum handling than the BCB IDE default one? I'm having problems which seem related to enums and the inclusion of some Boost headers in precompiled headers.
Cheers, Nicola Musatti
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Russell Hind wrote:
Boost uses -b- AFAICT, which is make enums byte-sized when possible. Not sure what the IDE default is (that can easily be changed by changing compiler options when no project is opened, so I think I have changed my default.
I have my own set of boost wrappers which I include instead of the actual boost headers. the wrap each header in
#pragma option push -b- -a8 -pc -A- -Ve -Vx #include original header #pragma option pop
(I'm still running with 1.30.2 so haven't tried 1.31 which has this in-built for you).
I found my problem. It was caused by a bug in a Signals header, which apparently Doug Gregor already fixed a little while ago (the prefix header being included at the end of trackable.hpp instead of the suffix one). Thanks anyway. Cheers, Nicola Musatti
participants (2)
-
Nicola Musatti
-
Russell Hind