driplineorg / dripline-cpp

C++ Implementation of the Dripline framework
http://driplineorg.github.io
Apache License 2.0
1 stars 0 forks source link

Add return codes at runtime #81

Closed nsoblath closed 3 years ago

nsoblath commented 3 years ago

To do:

Closes #40.

nsoblath commented 3 years ago

Known issue: at least with clang on a mac, I get the following warning:

dripline-cpp/testing/test_core.cc:86:39: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due
      to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]
    std::string t_temp_filename( std::tmpnam(nullptr) );
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of tmpnam(3), it is highly recommend...
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg'
        #define __deprecat