Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Hello,
| 
| I have been trying various compilers with the latest debugstream
| branch in cvs. Nothing succeded yet, but there is still hope. Here are
| the problems I encountered:
| 
| - with gcc 2.8.1, I get:

wrt regard to 2.8.1 C++ wise it sucks.

| I know that Lars will tell me that anybody using gcc 2.8.1 deserves
| this, but this will not help me much :( Removing std:: in
|   class DebugStream : public std::ostream {
| helps me immensely, but I am not sure Lars will accept this mutilation
| of his code...

If you are using a compiler that is more standard conformant than egcs
or gcc 2.95 then the std::'s is needed.

| - when I use DEC cc as C compiler, it triggers the definition of const
|   and inline C macros and breaks the C++ compiles. I had to reshuffle
|   the configure tests to get it right.

So DEC is not a compiler that we should support. We _need_ const and
inline. Why should we try to supprt DEC cc as C compiler anyway? Hmm
ok, gettext needs it.

| - when I use DEC cxx as C++ compiler (a very recent one), it chokes on
|   the <ctype> and friends headers. Do we really need them? It does not
|   seem to me that they buy us much. If you are interested, they
|   describe why they did not implement that at the url below:
|     http://www.unix.digital.com/cplus/docs/rnu.htm#draft_diff_sec

Tell DEC to get their act together. IMO they are way behind on C++
support...

| That's all for now. Let's try with solaris CC.

Note that apart from the use of std:: the DebugStream is mainly
developed on gcc 2.7.3...

        Lgb

Reply via email to