Redefined "_"

2009-11-20
2013-06-06
  • John Roberts

    John Roberts - 2009-11-20

    I have just tried the native 64 compiler, however it picks up
    #define _(s)
    and produces
    Warning: "_" redefined

     
  • Kai Tietz

    Kai Tietz - 2009-11-20

    Yes, this issue is known to us and we fixed it as work-a-round in our headers already. So I assume you are using an older version of our header-set. Also for 4.5 and 4.4.3 there were a patch to fix the push/pop-macro pragma, maybe you are using on of our older toolchains without this patch.
    For fast fixing your installation, add in _mingw_mac.h (before #pragma pop_macro("_") ) the line '#undef _', this should fix your issue.

    Cheers,
    Kai

     
  • John Roberts

    John Roberts - 2009-11-20

    Thanks for the quick reply. I did download a week or so ago but perhaps I didn't get the most recent.
    The #undef did the trick.
    I have been using an old version of the cross compiler for a long time. Good to see the native compiler setup working.
    Great stuff, John

     

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

Sign up for the SourceForge newsletter:





No, thanks