[Trilinos-Users] linking debug on Windows
Bill Hoffman
bill.hoffman at kitware.com
Wed Jun 16 10:25:53 MDT 2010
On 6/16/2010 12:01 AM, Matthew Koch wrote:
> The exact compiler error message is:
>
> C:\trilinos-10.2.1-Source-serial-bin\include\Teuchos_RCPDecl.hpp(934): error: expected a type specifier
> void free( T* ptr ) { }
> ^
>
I am wondering if free is somehow being redefined or something like that...
If you run the preprocessor on the code what do you get?
With VS IDE, this can be done by right clicking on a file that includes
Teuchos_RCPDecl.hpp, and changing the properties to save the
preprocessed output. This will create a .i file that will have the
expanded code. It looks like free is being redefined to something else...
A quick test of that might be to add a #undef free on line 933 of that
file and see if it helps...
-Bill
More information about the Trilinos-Users
mailing list