[cfe-dev] linkage errors for VS2005 Release build

Viktar Zviarovich Viktar.Zviarovich at brunel.ac.uk
Fri Mar 6 06:40:22 PST 2009


Hi Cédric,

Unfortunately rebuilding doesn't help.

cl emits plenty of such warnings (type name first seen using 'class' now seen using 'struct') but I think it is not related since the debug version is built successfully and AFAIK the mangling scheme does not change in release version.

Victor

-----Original Message-----
From: Cédric Venet [mailto:cedric.venet at laposte.net] 
Sent: 06 March 2009 12:21
To: Viktar Zviarovich
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] linkage errors for VS2005 Release build


> In debug version all the entries agree.
> Any ideas?

I suppose you already tried, but a full rebuild of the solution may help?

another problem often encountered with llvm and hard to diagnose is when 
some class/struct is declared as struct and defined as class or 
vice-versa. this emit only a warning at compile time, but it must change 
the mangling as it make linking fail. you may want to correct all such 
warning.

The problem could be a forward declaration in one file with the 
incorrect class/struct.

just my 2cents.




More information about the cfe-dev mailing list