|
vector problem with solaris compiler: msg#00156programming.swig
Hello. I'm extremely new to this and I need a little help. This is my example.cc: extern "C" int func() { return 100; } Interface file is extremely simple: %module example %{ //#include <vector> %} //%include "std_vector.i" extern int func1(); If I uncomment either line, I get an error compiling wrap file: $ CC -g -G -I$APDIR/include/perl -o example.so example.cc example_wrap.cxx example.cc: example_wrap.cxx: "/opt/SUNWspro/WS6U2/include/CC/Cstd/rw/rwdispatch.h", line 63: Error: _RW_is_integral_type(char) already had a body defined. "/opt/SUNWspro/WS6U2/include/CC/Cstd/rw/rwdispatch.h", line 121: Error: Multiple declaration for _RWdispatch<char>. "/opt/SUNWspro/WS6U2/include/CC/Cstd/./limits", line 925: Error: Multiple declaration for std::numeric_limits<char>. 3 Error(s) detected. It compiles fine with g++ but I have a lot of existing code and converting it to g++ would be inconvinient to say the least. I'd appreciate any help. Thank you. _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Overriding PyArg_ParseTuple arguments: 00156, David Beazley |
|---|---|
| Next by Date: | Ian Haycock/SwissRe is out of the office.: 00156, Ian_Haycock |
| Previous by Thread: | Overriding PyArg_ParseTuple argumentsi: 00156, Tessa Lau |
| Next by Thread: | Ian Haycock/SwissRe is out of the office.: 00156, Ian_Haycock |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |