Compile error - basic_string.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi - 
I'm was hoping that you could help me...

We are moving an application from HP UX to Linux.  When I try to compile
a couple of the programs on Linux (using gcc 3.3.3), I get errors like
this:

In file included from /usr/include/g++/string:53,
                 from /usr/include/g++/bits/locale_classes.h:47,
                 from /usr/include/g++/bits/ios_base.h:47,
                 from /usr/include/g++/ios:49,
                 from /usr/include/g++/ostream:45,
                 from /usr/include/g++/iostream:45,
                 from FlexCode.h:26,
                 from Constraint.h:29,
                 from AnalysisUtils.h:19,
                 from AnalysisUtils.cpp:16:
/usr/include/g++/bits/basic_string.h: In member function `int
   std::basic_string<_CharT, _Traits, _Alloc>::compare(const
   std::basic_string<_CharT, _Traits, _Alloc>&) const':
/usr/include/g++/bits/basic_string.h:824: error: syntax error before `;'
token

Can you give me any suggestions on where I should try to start debugging
this?

Thanks!

Autumn Redmer


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux