File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ GLOB_OPTIONS:=
111111#____________________________________________________________________________
112112
113113# Global c++ flags: firebird needs no RTTI, choose build standard and c++ specific warnings level
114- PLUSPLUS_FLAGS:= -fno-rtti -std=c++17 -Werror=delete-incomplete
114+ PLUSPLUS_FLAGS:= -fno-rtti -std=c++17 -Werror=delete-incomplete -Werror=return-type
115115
116116# If this is defined then we use special rules useful for developers only
117117IsDeveloper = @DEVEL_FLG@
Original file line number Diff line number Diff line change 2828 <UseFullPaths >false</UseFullPaths >
2929 <MultiProcessorCompilation >true</MultiProcessorCompilation >
3030 <PreprocessorDefinitions >_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions >
31+ <TreatSpecificWarningsAsErrors >4715</TreatSpecificWarningsAsErrors >
3132 </ClCompile >
3233 <Link >
3334 <SuppressStartupBanner >true</SuppressStartupBanner >
Original file line number Diff line number Diff line change @@ -1124,6 +1124,7 @@ namespace
11241124 return twelveHours == 12 ? twelveHours : 12 + twelveHours;
11251125
11261126 cb->err (Arg::Gds (isc_incorrect_hours_period) << string (period.data (), period.length ()));
1127+ return 0 ; // suppress compiler warning/error
11271128 }
11281129
11291130 constexpr int roundYearPatternImplementation (int parsedRRValue, int currentYear)
You can’t perform that action at this time.
0 commit comments