bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation with obj-c++, NSPortMessage.h - bug fix for keyword clash.


From: John Clayton
Subject: compilation with obj-c++, NSPortMessage.h - bug fix for keyword clash.
Date: Fri, 4 Aug 2006 14:18:32 +0200

Dear All,

In version 22472 of NSPortMessage.h there is a category added to the NSPortMessage called private.

This is bad, because when one compiles using objective-c++ (for example, with the latest 4.1.1 GNU C++ compiler) - it breaks, as private is of course a reserved keyword.

The fix is trivial:
I changed my NSPortMessage.h category to be private_impl (i.e. anything other than 'private') and recompiled - it worked.

Please let me know if you need more information.

John Clayton




reply via email to

[Prev in Thread] Current Thread [Next in Thread]