[Trilinos-Users] linking debug on Windows
Bartlett, Roscoe A
rabartl at sandia.gov
Tue Jun 15 16:03:26 MDT 2010
Matthew,
We have no testing for a situation like this.
Are you using shared libraries or static libraries? Only limited Trilinos code is being tested with shared libraries and there is no testing for mixing MSVC++ and Intel on Windows.
What does the compiler documentation say about this? I tried to look online to see if this issue is addressed and I can't find anything.
I am not sure what I would suggest. We don't have the setup to experiment with this platform and mixing MSVC++ and Intel compiled code on Windows. Can you experiment some with this?
If you can find a simple portable solution to this problem we might be able to incorporate the fix into the code base.
Thanks,
- Ross
> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
> users-bounces at software.sandia.gov] On Behalf Of Matthew Koch
> Sent: Tuesday, June 15, 2010 3:50 PM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] linking debug on Windows
>
> Hi,
>
> I am trying to link a debug version of Trilinos 10 (MSVC 9 2008) into a
> project that builds with the
> Intel compiler, but keep running into a problem with lines like the
> following in Teuchos_RCPDecl.hpp:
>
> 934 void free( T* ptr ) { }
>
> the compiler says that it expected a type specifier between void and
> free. Everything works fine in
> release, and Trilinos builds in debug, but the error is thrown when
> that file gets included in the
> other project. Is there some flag that I'm missing in the other
> project's debug configuration that
> would skip or modify this code?
>
> Thank you,
> Matthew Koch
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list