zeroc-ice / ice-demos

Sample programs for Ice
https://zeroc.com
GNU General Public License v2.0
325 stars 217 forks source link

Under what circumstances is this setting required for compilation -- make CXXFLAGS=-std=c++11 #158

Closed liuty2006 closed 2 years ago

liuty2006 commented 2 years ago

The build system supports specifying additional preprocessor, compiler and linker options with the CPPFLAGS, CXXFLAGS and LDFLAGS variables. For example, to build the Ice C++98 mapping with -std=c++11, you can use: make CXXFLAGS=-std=c++11

Under what circumstances is this setting required for compilation -- make CXXFLAGS=-std=c++11

pepone commented 2 years ago

If you build Ice with custom flags, you should use the same flags here, but it is otherwise not required to set CXXFLAGS or LDFLAGS