If I compile my code containing vsnprintf on VS2015 it complains about :
warning C4996: 'vsnprintf': This function or variable may be unsafe.  
               Consider using vsnprintf_s instead.
If i use vsnprintf_s then gcc fails compiling it.
How to solve this? I would like to compile the code without (suppressed) warnings and platform independent.
Using C++ streams is not possible because the va_list and format string is created in C-Code.
 
    