Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

WIP: src: make build pass with GCC < 4.5 #9098

Closed
wants to merge 1 commit into from

Commits on Jan 29, 2015

  1. src: make build pass with GCC < 4.5

    Building node with GCC > 4.4 on CentOS makes the node binary depend on a
    more recent version of the C/C++ runtime that is not installed by
    default on these older CentOS platforms, and probably on other platforms
    as well.
    
    Building node with the default gcc and g++ compilers that come with
    these older versions of CentOS allows to ship a node binary that runs
    out of the box on these setups with older C/C++ runtimes.
    
    This change works around a bug that was fixed in GCC 4.5. Versions of
    GCC < 4.5 would not support using the injected-class-name of a
    template base class as a type name.
    
    This change also disables aliasing optimizations for toolchains using
    GCC <= 4.4.
    
    Fixes nodejs#9079.
    Julien Gilli committed Jan 29, 2015
    Configuration menu
    Copy the full SHA
    b0258ae View commit details
    Browse the repository at this point in the history