#29 -D problems using msys and msys-DTK

closed
nobody
None
5
2004-04-25
2003-04-10
No

The following line is in my Makefile.am file:

tsito_CXXFLAGS = -DDATADIR=\"$(pkgdatadir)\"
-Wno-deprecated

This works fine on Linux but I get the following error
using msys:

c:/mingw/include/objidl.h:58: semicolon missing after
declaration of `
tagDATADIR'
c:/mingw/include/objidl.h:58: parse error before string
constant

What could be causing this problem?

Thanks,
NR

Discussion

  • Noah Roberts

    Noah Roberts - 2003-04-11

    Logged In: YES
    user_id=121121

    I found the problem on my own. There is an enum DATADIR in
    objidl.h on line 58. This problem is not something I face
    on other platforms, perhaps objidl.h could use underscores
    for the names like _DATADIR so that there are not conflicts
    like this? Anyway, close this ticket - problem solved on
    this end.

     
  • Earnie Boyd

    Earnie Boyd - 2004-04-25

    Logged In: YES
    user_id=15438

    User resolved issue, about a year ago. Closing.

     
  • Earnie Boyd

    Earnie Boyd - 2004-04-25
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks