[ADOL-C] vs2010 compiler error adol-c-2.3.0 with OpenMP support enabled

Verhoeven, Ronald Ronald.Verhoeven at nlr.nl
Sun Apr 8 19:22:16 EDT 2012


Hello everyone,

When I compile compile ADOL-C-2.3.0 using Visual Studio 2010 with OpenMP support enabled (/openmp) I got the following error:

..\..\ADOL-C\src\taping.c(432): error C2143: syntax error : missing ';' before 'type'

The referenced source code line is short, just:

ADOLC_OPENMP_THREAD_NUMBER;

where

#define ADOLC_OPENMP_THREAD_NUMBER int ADOLC_threadNumber

I do not understand why this compiler error is generated. Nothing seems wrong with the source code line. Do I miss something? Could somebody help me with this issue?

Thanks in advance,

Ronald.


National Aerospace Laboratory - NLR

Ir. R.P.M. (Ronald) Verhoeven

Cockpit and Flight Operations


Phone
+31(0)20 511 3557

E-mail
verhoeve at nlr.nl

        [http://www.nlr.nl/images/signature/90years.gif]
[http://www.nlr.nl/images/signature/slogan.gif]
        [http://www.nlr.nl/images/signature/nlr.gif] <http://www.nlr.nl/?id=8737>

[http://www.nlr.nl/images/signature/tree.gif] Please consider the environment before printing this email.





******************************************************************************************************************

The NLR disclaimer is valid for NLR e-mail messages.

This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual
or legal commitment on the part of the sender.
This message may contain information that is not intended for you. If you are not the addressee or if this
message was sent to you by mistake, you are requested to inform the sender and delete the message.
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic
transmission of messages.
 
******************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120409/cc1f006b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 90years.gif
Type: image/gif
Size: 2062 bytes
Desc: 90years.gif
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120409/cc1f006b/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slogan.gif
Type: image/gif
Size: 2905 bytes
Desc: slogan.gif
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120409/cc1f006b/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nlr.gif
Type: image/gif
Size: 1181 bytes
Desc: nlr.gif
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120409/cc1f006b/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree.gif
Type: image/gif
Size: 322 bytes
Desc: tree.gif
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120409/cc1f006b/attachment-0003.gif>


More information about the ADOL-C mailing list