#9290: Incorporation of GCC 4.7 ----------------------------+------------------------- Reporter: korli | Owner: jprostko Type: enhancement | Status: new Priority: normal | Milestone: Unscheduled Component: Build System | Version: R1/alpha4.1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All ----------------------------+------------------------- Comment (by jprostko): Known issue 2: While including -Wno-narrowing to build/jam/BuildSetup and building Haiku, Haiku boots up to a system with no text anywhere at all. Even with rebuilding Freetype and ICU with a natively built GCC 4.7.2 and replacing them, Haiku still boots up with no text. I'm not sure if this is the result of a narrowing conversion being disabled, or if it is just the result of something being compiled differently with GCC 4.7.2. As a TODO, the narrowing conversion issues should be fixed in Haiku code, and -Wno-narrowing should not be added at all to BuildSetup (unless we see false positives). I was doing that initially though to speed up my testing, as the narrowing conversion issue happens at least in two files, and likely many more in the Haiku source. That said, the issue that results in no text could lie deeper and have nothing at all to do with the way narrowing conversion is handled. Below I will attach a file with errors seen in two files with narrowing conversion issues. I admit my confidence in touching code like this isn't too high, so if anybody else wants to jump on these, feel free. Just know that likely more files have issues. Also, I probably generated these errors several weeks ago, so the line numbers mentioned could be wrong if these files have changed in the meantime. -- Ticket URL: <http://dev.haiku-os.org/ticket/9290#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.