Hi,

sorry, that I (again) kick in late in this discussion, but this change  
was not the right solution. Actually, the macros PLDLLEXPORT/ 
PLDLLIMPORT are not to be used outside pldll.h. Only PLDLLIMPEXP  
should be used in headers and source. This was correctly done for the  
plplot core source, but not for the driver sources. So I changed now  
all PLDLLEXPORT macros to PLDLLIMPEXP and ask anybody if he needs to  
use this macros only to use PLDLLIMPEXP or NNDLLIMPEXP ...

Will commit that soon.

Regards,
Werner

On 08.10.2008, at 20:16, Alan W. Irwin wrote:

> On 2008-10-08 11:31+0200 Robert Pollak wrote:
>
>> Hi Alan, Arjen,
>>
>> Alan wrote:
>>> Robert, what happens if you add
>>>
>>>    #define PLDLLEXPORT
>>>    #define PLDLLIMPORT
>>>
>>> to the #else stanza above?  I predict that will fix your problem  
>>> with
>>> the -DBUILD_SHARED_LIBS=OFF case.
>>
>> Yes, this fixes the problem in this case (besides some macro
>> redefinition warnings).
>
> I have made the change (also for lib/csa/csaldd.h and lib/nn/ 
> nnldd.h) as of
> revision 8864.
>
> Arjen, could you please implement a more elegant way to do this to  
> get rid
> of all the extra compilation warnings due to the macro redefinitions  
> in the
> present implementation?
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and  
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state  
> implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting  
> software
> package (plplot.org); the libLASi project (unifont.org/lasi); the  
> Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to