Boost C++ Libraries: Ticket #11694: Boost.icl tests incompatibility with Solaris https://svn.boost.org/trac10/ticket/11694 <p> About 20 boost.icl tests fail on Solaris with the following errors: Error: Expected "class" or "typename" before "0x00000001" Error: "," expected instead of "0x00000001". </p> <blockquote> <p> This happens because some of the headers use _U as a name of template parameter: boost/boost_1_58_0/libs/icl/test/test_icl_quantifier_shared.hpp: </p> <blockquote> <p> ICL_IntervalMap_TEMPLATE(_T,_U,Traits,Trt) <a class="missing wiki">IntervalMap</a> </p> </blockquote> </blockquote> <blockquote> <p> and _U is defined in Solaris /usr/include/iso/ctype_iso.h </p> </blockquote> <blockquote> <p> #define _U 0x00000001 /* Upper case */ </p> </blockquote> <blockquote> <p> (also they use _L, _N, _S, _P, _C , _B, _X :) </p> </blockquote> <p> Names starting with two underscores or an underscore and an upper-case letter are reserved to the system. Declaring such names in an application has undefined results. </p> <p> The other headers which have similar issues are: libs/icl/test/test_icl_map.hpp libs/icl/test/test_functions.hpp libs/icl/test/test_interval_map_shared.hpp libs/icl/test/test_interval_quantifier_shared.hpp </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11694 Trac 1.4.3 Aparna Kumta <aparna.kumta@…> Tue, 12 Jan 2016 22:04:41 GMT <link>https://svn.boost.org/trac10/ticket/11694#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11694#comment:1</guid> <description> <p> Is there any suggestion regarding what the identifiers could be named? If so, I could submit a PR. </p> </description> <category>Ticket</category> </item> </channel> </rss>