Compile gateway.c as C++
When C and C++ are mixed in a project, main() should be compiled as C++ to ensure that all C++ static initializations are performed properly. That may not be strictly true anymore, depending on the used compiler and environment, but better to do that to be on the safe side.
This commit is contained in:
2789
server/core/gateway.cc
Normal file
2789
server/core/gateway.cc
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user