Boost C++ Libraries: Ticket #830: ‘ulong_long_type’ is not a member of ‘boost’ https://svn.boost.org/trac10/ticket/830 <pre class="wiki">compilation error when compiling is_integral.hpp cp /usr/include/boost/type_traits/is_integral.hpp test.cpp g++ test.cpp In file included from /usr/local/include/boost/config.hpp:35, from test.cpp:12: /usr/local/include/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: template argument 1 is invalid test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: template argument 1 is invalid test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: template argument 1 is invalid test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: ‘ulong_long_type’ is not a member of ‘boost’ test.cpp:61: error: template argument 1 is invalid test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: template argument 1 is invalid test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: template argument 1 is invalid test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: template argument 1 is invalid test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: ‘long_long_type’ is not a member of ‘boost’ test.cpp:62: error: template argument 1 is invalid </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/830 Trac 1.4.3 nobody Mon, 12 Feb 2007 17:33:36 GMT <link>https://svn.boost.org/trac10/ticket/830#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:1</guid> <description> <pre class="wiki">Logged In: NO Boost was not compiled from source. It was installed as an ubuntu package - 1.33.1-7ubuntu1 </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Mon, 12 Feb 2007 18:20:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/830#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=14804 Originator: NO It looks to me like you might have a partial update of your Boost tree - the warning that you are seeing: /usr/local/include/boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" Should not be emitted for Boost-1.33.1, while ulong_long_type is defined by Boost.Config for 1.33.1 onwards only. Is it possible you have an old version of Boost.Config in your include path somewhere? John Maddock. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>gonzo1984</dc:creator> <pubDate>Mon, 12 Feb 2007 18:55:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/830#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=1717549 Originator: NO I can't find any Boost.Config on my filesystem. The closest thing is /usr/include/boost/config.hpp, which was written by you in 2002! </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>gonzo1984</dc:creator> <pubDate>Tue, 13 Feb 2007 00:05:04 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/830#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:4</guid> <description> <pre class="wiki">Logged In: YES user_id=1717549 Originator: NO I completely uninstalled Boost then re-installed the libBoost-dev package but I still have the same problem. Is there some sort of utility I can use to check whether I have a partial update of the Boost tree? </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 13 Feb 2007 09:22:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/830#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:5</guid> <description> <pre class="wiki">Logged In: YES user_id=14804 Originator: NO Sorry for the shorthand: Boost.Config just means "the Boost configuration library". OK, open up boost/config/suffix.hpp, you should see ulong_long_type defined unconditionally in there. Now preprocess the source with - for exanmple - `g++ -E test.cpp 2&gt;&amp;1 | less` and search for "ulong_long_type" again, if you don't find it before it get's used, look for "suffix.hpp" and check that one you expect to be included is the one that is getting included (ie that you haven't got more than one copy of the file on your system). John Maddock. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>gonzo1984</dc:creator> <pubDate>Tue, 13 Feb 2007 14:45:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/830#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/830#comment:6</guid> <description> <pre class="wiki">Logged In: YES user_id=1717549 Originator: NO It seems like the problem is gone. I tried installing from source using boost.build but got alot of failed and alot of skipped targets. I did this without un-installing the libboost-dev package. I wonder if I had an older config and installing from source (even though some of it failed) updated this file. Does this make sense? If so, I don't need to pursue this any further and I thank you very much for your help. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 13 Feb 2007 16:29:23 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/830#comment:7 https://svn.boost.org/trac10/ticket/830#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=14804 Originator: NO It sounds a likely explanation, I'm closing the issue down for now. </pre> Ticket