Hi My main program is written in C and gtk+ then I used CC to compile,it works fine. Then I want to use self-defined object in this main program so I included my own .h file which defines the class.Just then,it gives ERRORS when compileing!!! I didn't even try to use the object! Only #included the .h file. And the error seems come from some definition conflict,right? Any suggest is highly appreciated!
The error messages are as follows: "/usr/include/wchar.h", line 21: Error: Multiple declaration for std::tm. "/usr/include/time.h", line 30: Error: Multiple declaration for std::tm. "/opt/SUNWspro/WS6/include/CC/Cstd/rw/traits", line 517: Error: Cannot return void* from a function that should return const char*. "/opt/SUNWspro/WS6/include/CC/Cstd/rw/locimpl", line 243: Error: Cannot return void* from a function that should return __rwstd::facet_imp*. "/opt/SUNWspro/WS6/include/CC/Cstd/rw/ctype", line 491: Error: Could not find a match for std::ctype<char>::ctype(void*, bool, int). "/opt/SUNWspro/WS6/include/CC/Cstd/rw/vendor", line 59: Error: Could not find a match for std::ctype<char>::ctype(void*, bool, int). exit6 Error(s) detected. *** Error code 6 _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
