Slashdot Mirror


GCC 3.3.1 Switch Coming Soon On NetBSD

Dan writes "Matthew Green says he is ready to switch sparc, sparc64, i386 & alpha ports to using GCC3.3.1 by default on NetBSD. He's uploaded 4 snapshots (one per port ;-), all cross compiled from i386-netbsd. However, there appears to be work involved with fixing approximately 193 broken packages, as reported by NetBSD's Jan Schaumann."

1 of 46 comments (clear)

  1. Re:I didnt know gcc3.3 was that mature by __past__ · · Score: 3, Interesting
    The biggest annoyance is that newer GCCs treat multiline string literals (i.e. strings with embeded newline characters as opposed to \n) as errors, instead of just issuing a warning. This is actually conforming behaviour, so packages should really be fixed upstream. Other than that, I never had any problems beyond simple warnings, but of course, YMMV.

    Given that GCC got better and better in terms of ISO/ANSI C conformance, most problems are probably bugs that just didn't show up yet because they went with a matching GCC bug. So fixing them will only increase conformance, and hence portability to other compilers.