Remove extraneous semicolons after wxDECL_FOR_STRICT_MINGW32().
This macro shouldn't be followed by a semicolon because it can be empty, so remove the extra semicolons to avoid -Wpedantic g++ warnings about it.
This commit is contained in:
@@ -198,7 +198,7 @@ enum wxPosixPermissions
|
||||
#elif wxCHECK_MINGW32_VERSION(3, 5) // mingw-runtime version (not gcc)
|
||||
#define wxHAS_HUGE_STDIO_FILES
|
||||
|
||||
wxDECL_FOR_STRICT_MINGW32(int, fseeko64, (FILE*, long long, int));
|
||||
wxDECL_FOR_STRICT_MINGW32(int, fseeko64, (FILE*, long long, int))
|
||||
#define wxFseek fseeko64
|
||||
|
||||
#ifdef wxNEEDS_STRICT_ANSI_WORKAROUNDS
|
||||
|
@@ -72,7 +72,7 @@
|
||||
#define wxFinite(x) isfinite(x)
|
||||
#endif
|
||||
#elif defined(wxNEEDS_STRICT_ANSI_WORKAROUNDS)
|
||||
wxDECL_FOR_STRICT_MINGW32(int, _finite, (double));
|
||||
wxDECL_FOR_STRICT_MINGW32(int, _finite, (double))
|
||||
|
||||
#define wxFinite(x) _finite(x)
|
||||
#elif ( defined(__GNUG__)||defined(__GNUWIN32__)||defined(__DJGPP__)|| \
|
||||
|
@@ -159,7 +159,7 @@
|
||||
standard headers (e.g. <algorithm>) and we don't want to duplicate this
|
||||
hack everywhere this happens.
|
||||
*/
|
||||
wxDECL_FOR_STRICT_MINGW32(double, _hypot, (double, double));
|
||||
wxDECL_FOR_STRICT_MINGW32(double, _hypot, (double, double))
|
||||
#else
|
||||
#define wxDECL_FOR_STRICT_MINGW32(rettype, func, params)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user