|
Re: swig and perl580 and sun solaris compiler 5.3: msg#00173programming.swig
>>>>> "BHW" == Brett H Williams <brett_williams@xxxxxxxxxxx> writes: BHW> I've been trying to get my C++ SWIG project working with perl BHW> 5.8, and what I've fuond so far is that if you include <iostream> BHW> you also need to undef these macros in the .i file: BHW> #undef do_open BHW> #undef do_close Here's what I do... //------------------------------------------------------- // Ugh. Perl and its silly macros. //------------------------------------------------------- #if defined(SWIGPERL5) # undef Error # undef form # undef vform # undef LABEL # undef METHOD # undef Move # undef do_open # undef do_close # undef yylex # undef yyparse # undef yyerror # undef invert # undef ref # undef list #endif -- David Fletcher Tuscany Design Automation, Inc. frodo@xxxxxxxxxxxxx 5875 S. Danube Circle 303.690.4309 Aurora, CO 80015-3169 USA _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: swig and perl580 and sun solaris compiler 5.3: 00173, Brett H. Williams |
|---|---|
| Next by Date: | SWIG - Memory leak: 00173, Mathieu Tremblay |
| Previous by Thread: | Re: swig and perl580 and sun solaris compiler 5.3i: 00173, Brett H. Williams |
| Next by Thread: | Re: swig and perl580 and sun solaris compiler 5.3: 00173, John Lenz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |