Ulrich Wilkens <m...@uwilkens.de> writes:

> Compiling with gcc4 works like a charm here. Do you have problems with it?

OpenIndiana Hipster updated to GCC6 some time back (you said you're on
2014; I believe it was long after that).  GCC6 itself has some problems
compiling CDE (at least on this platform there are standards compliance
errors), and of course there's the DtInfo template bug I mentioned.

GCC4 *should* work fine, but unfortunately imake's version detection is
broken.  It hardcodes the path to gcc, so *MajorVersion is set to 6 even
when compiling with GCC4, triggering the template bug(s).

I should just need to fix get_sun_compiler_version() in imake.c; this
code should be refactored anyway, as it is repetitive and quite brittle
besides.  As a workaround, a person could maybe set

#define DefaultGnuCCompilerMajorVersion         4
#define DefaultGnuCplusplusCompilerMajorVersion 4

in host.def, or redirect the system symlink, but I'll have a patch with
the real fix shortly.


-- Matthew R. Trower

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to