Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compilation problem insolaris 2.8

Status
Not open for further replies.

andysys

IS-IT--Management
May 20, 2003
103
IN

Hi
Trying to compile under Solaris 8 using Sun Workshop 5.0 i am getting error.

"/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: Error: The name mbstate_t is ambiguous, std::mbstate_t and std::mbstate_t.
"/build/vendor/rogue7.0.4-i18n/rw/defs.h", line 542: Error: A typedef name cannot be used in an elaborated type specifier..

Any help is greatly appreciated.

Andy
 
are you defining mbstate_t anywhere in your program? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top