[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.

2009-11-02 Thread Joel Stanley
2009/11/2 Hironori Bono (坊野 博典) hb...@chromium.org: 1. Creating a file ~/.gyp/inclulde.gypi'. 2. Adding a following lines to the file. { 'variables': { 'no_strict_aliasing': 1 } } If you're only building chrome, not the unit_tests target, you can instead define gcc_version

[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.

2009-11-01 Thread Yuta Kitamura
Hi all, 2009/11/2 Hironori Bono (坊野 博典) hb...@chromium.org 1. Creating a file ~/.gyp/inclulde.gypi'. 2. Adding a following lines to the file. { 'variables': { 'no_strict_aliasing': 1 } } IIRC specifying 'gcc_version': '44' does the same thing as above. This might be

[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.

2009-11-01 Thread Joel Stanley
2009/11/2 Yuta Kitamura yu...@chromium.org: IIRC specifying 'gcc_version': '44' does the same thing as above. This might be better than specifying 'no_strict_aliasing' directly. Ah, you bet me to it. You're right; gcc_version is used to only enable -fno-strict-aliasing when building v8.