build: update default CXXFLAGS.
* Add -std=c++03 and -pedantic, and fix the resulting warnings. The long-long-int warning is explicitly suppressed because it's not trivial to workaround in a platform-independent and ISO-conformant way without using C++11. * Initial support for building with -std=c++11 (experimental). * Prefer -Og optimization level in debug builds if supported by the compiler. Change-Id: I744a25c8b52842dc3ea3a733d6ab2fa66171e6f8
This commit is contained in:
1 parent
72c3e040ed
commit
1bdef28419
14 files changed
+91
-63
No files matched your search
@@ -40,9 +40,9 @@
|
||||
#error Platform not supported
|
||||
#endif
|
||||
|
||||
namespace nfd {
|
||||
NFD_LOG_INIT("NetworkInterfaceInfo");
|
||||
|
||||
NFD_LOG_INIT("NetworkInterfaceInfo")
|
||||
namespace nfd {
|
||||
|
||||
std::list< shared_ptr<NetworkInterfaceInfo> >
|
||||
listNetworkInterfaces()
|
||||
|
||||
Reference in new issue
Block a user