Bug 2919

Summary: add g++ version check to bake
Product: bake Reporter: Tom Henderson <tomh>
Component: bakeAssignee: Daniel Camara <daniel.camara>
Status: PATCH WANTED ---    
Severity: normal CC: ns-bugs
Priority: P3    
Version: unspecified   
Hardware: All   
OS: All   

Description Tom Henderson 2018-05-17 13:52:25 EDT
It would be nice to flag and gracefully handle g++ version incompatibility issues, such as (for nsc):

+      <depends_on name="g++" max_version="5" optional="False"/>

or for ns-3:

+      <depends_on name="g++" min_version="4.9" optional="False"/>

the solution (for ns-3) should not disable compilation on clang or other compilers; i.e. adding g++ min_version should be ignored if compiler is not g++.