> I've noticed that the philosophy of boost as it concerns long long is:
> if the type exists then use it. Since it is a non standard feature
> shouldn't it be used only if requested by the user (e.g. with a macro
> from the command line:
>
>    -DBOOST_ENABLE_LONG_LONG

Maybe, but you could end up with a lot of macros to define if you want all
the extentions enabled.  IMO the vast majority of users do want all possible
extentions enabled.

> )?. I ask this because in --pedantic mode gcc emits a lot of warnings
> in boost headers even if the client code doesn't use long long. Now,
> for gcc the problem is easily solved because it has
>
>    -Wno-long-long
>
> but is there a similar solution for other compilers?

IMO it isn't a problem for other compilers (by and large they don't warn).

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to