Hi Alan,
>
> That line had a double extern (which I have never heard of).  I  
> replaced that
> with a single extern (revision 10586), that is
>
> -extern "C" extern PLDLLIMPEXP_DRIVER_DATA( const char* )
> plD_DEVICE_INFO_qt;
> +extern "C" PLDLLIMPEXP_DRIVER_DATA( const char* ) plD_DEVICE_INFO_qt;

In that case I think that plD_DEVICE_INFO_qt will be defined in every  
file which include qt.h, i.e. there will be several copies of the same  
variable. Since I don't believe that this needs to be exported  
anyways, I just deleted the line.

Compiles on Windows and Mac OS X.

Regards,
Werner
>
> and gcc was happy again, and all the qt device tests (done with the  
> newly
> implemented test_all_qt target accessible if you use - 
> DBUILD_TEST=ON) went
> fine.
>
> Hopefully, the Windows native compiler does not demand the double  
> extern and
> that was merely a typographical error introduced in the original  
> patch that
> the Windows native compiler tolerated before. Please let me know it  
> that is
> the case.
>
> 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
> __________________________
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel


--
Dr. Werner Smekal
Institut fuer Angewandte Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
DVR-Nr: 0005886

email: sme...@iap.tuwien.ac.at
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


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to