# File lib/phusion_passenger/platform_info/compiler.rb, line 408
        def self.cxx_visibility_flag_generates_warnings?
                if os_name =~ /linux/ && `#{cxx} -v 2>&1` =~ /gcc version (.*?)/
                        return $1 <= "4.1.2"
                else
                        return false
                end
        end