logo       

RE: export: msg#00102

programming.swig

Subject: RE: export


Am I the only one who has this problem? I really would like to know if
there is a workaround, because all my "export( filename )" methods are
broken. They used to work in 1.3.11.
Elmira



-----Original Message-----
From: Elmira Mazloomian
Sent: Thursday, January 16, 2003 11:23 AM
To: 'David Beazley'; Elmira Mazloomian
Cc: Swig@xxxxxxxxxxxxxxx (E-mail)
Subject: RE: [Swig] export


It was working in 1.3.11.
Is there any way to fix it without renaming the method?
Elmira

-----Original Message-----
From: David Beazley [mailto:beazley@xxxxxxxxxxxxxxx]
Sent: Thursday, January 16, 2003 11:20 AM
To: Elmira Mazloomian
Cc: Swig@xxxxxxxxxxxxxxx (E-mail)
Subject: [Swig] export


Elmira Mazloomian writes:
> Hi,
> I have upgraded my swig version from 1.3.11 to 1.3.17.
> I want to wrap a class that has an export method: int export( char*
> filename)
> Seems new version does not like my export method. It does not generate
any
> code for that.
> I see the following warning "Warning(504): Function int must have a
return
> type. "
> I didn't have this problem in 1.3.11.
> Any way to fix it?
>

I think "export" is a keyword in ANSI C++. That's probably the source
of the problem.

Cheers,

Dave
_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise