Author: kotkov Date: Wed Apr 26 13:39:29 2023 New Revision: 1909434 URL: http://svn.apache.org/viewvc?rev=1909434&view=rev Log: On the '1.3.x-r1909252-group' branch: Merge r1909433 (Threat warning C4013 ('function' undefined; assuming extern returning int) as an error.
We rely on OPENSSL_NO_STDIO to prevent using _fp() APIs from OpenSSL, but they still can be linked without a definition [with a warning], so let's make sure we treat that warning as an error. Modified: serf/branches/1.3.x-r1909252-group/ (props changed) serf/branches/1.3.x-r1909252-group/SConstruct Propchange: serf/branches/1.3.x-r1909252-group/ ------------------------------------------------------------------------------ Merged /serf/trunk:r1909433 Modified: serf/branches/1.3.x-r1909252-group/SConstruct URL: http://svn.apache.org/viewvc/serf/branches/1.3.x-r1909252-group/SConstruct?rev=1909434&r1=1909433&r2=1909434&view=diff ============================================================================== --- serf/branches/1.3.x-r1909252-group/SConstruct (original) +++ serf/branches/1.3.x-r1909252-group/SConstruct Wed Apr 26 13:39:29 2023 @@ -268,7 +268,10 @@ if sys.platform != 'win32': env.Append(PLATFORM='posix') else: # Warning level 4, no unused argument warnings - env.Append(CCFLAGS=['/W4', '/wd4100']) + env.Append(CCFLAGS=['/W4', + '/wd4100', # Unused argument + '/we4013', # 'function' undefined; assuming extern returning int + ]) # Choose runtime and optimization if debug: