Stephan Witt <[EMAIL PROTECTED]> writes:
| Maybe, but what's with the library SigC? Isn't it bad too?
No not really, in SigC it is called SigC::Object it is we that are
doing something bad in draging that into the global namespace in a
header file.
If I were to decide we would begin using namespaces right away, and
just drop support for those compilers that does not understand them
properly.
| The lib Xt is as old as I'm a programmer (10 years) and the "problem" is
| there since these days...
|
| The view of such things may shifted, but one concern of the
| X11 team is compatibility with previous versions. So they're right to
| leave this as it is.
Yes, they have no choice.
| A possible workaround(?)
And it will be just that, not a real solution.
|
| #define Object XtObject
| #include <X11/Intrinsics.h>
| #undef Object
|
| should replace the line
| #include <X11/Intrinsics.h>
And you can never know what of problems that will lead into...
Actually it is not surpringly few compilers that _don't_ support
namespaces anymore. and those that don't will usually have a really
hard time compiling LyX anyway.
Lgb