[vtk-developers] many compiler warnings
Luca Picello
luca.picello at libero.it
Sat Aug 13 06:02:59 EDT 2005
I've found why it spits so many warnings. The BCB compiler needs
following syntax to work fine:
# define EXODUS_EXPORT __declspec( dllexport ) extern
in file \Utilities\vtkexodus2\include\exodusII_cfg.h.in
I do not know if BCB5 already works fine (I'll try to install it later)
but the __BORLANDC__ define could be used to modify previous export define.
To eventually split src between BCB5 and BCB6 just test __BORLANDC__ <
0x0560 (for bcb5)
Ciao a tutti
Luca
David Cole wrote:
> I don't see any cvs changes that should cause this error anytime in
> the past week...
>
> Is EXODUSII_BUILD_SHARED_LIBS defined in your binary tree
> Utilities/vtkexodus2/include/exodusII_cfg.h? That symbol controls how
> EXODUS_EXPORT gets defined...
>
> Any special CMake configuration?
> When did you update?
> And when did you update prior to that? (When was the last update that
> worked?)
> Do you have any locally changed files?
> Does it still happen if you build starting with a clean binary directory?
> Any more error details?
>
>
> Luca Picello wrote:
>
>> using bcc6 I have many and many linker warnings with today's cvs like:
>>
>> Warning: Public symbol '_exerrval' defined in both module
>> Z:\VTK.BIN.DLL.RELEASE
>> \UTILITIES\VTKEXODUS2\EXGNVID.OBJ and
>> Z:\VTK.BIN.DLL.RELEASE\UTILITIES\VTKEXODUS
>> 2\EXGEVID.OBJ
>>
>> it has to be related to latest commits... (something declared in a .h
>> file?)
>> thank you
>>
>> Luca
>>
>> _______________________________________________
>> vtk-developers mailing list
>> vtk-developers at vtk.org
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
> .
>
More information about the vtk-developers
mailing list