mirror of
https://github.com/cc65/cc65.git
synced 2025-02-04 13:32:54 +00:00
Moved workaround for MinGW's missing %m support to a central place.
This commit is contained in:
parent
4185caf855
commit
66f1a80f4e
@ -38,6 +38,12 @@
|
||||
|
||||
|
||||
|
||||
#if defined( __MINGW32__)
|
||||
# pragma GCC diagnostic ignored "-Wformat"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* common */
|
||||
#include "attrib.h"
|
||||
#include "coll.h"
|
||||
|
@ -41,11 +41,7 @@
|
||||
* and precision to such a StrBuf, but *not* using %p would bring up a warning
|
||||
* about a wrong argument type each time. Maybe gcc will one day allow custom
|
||||
* format specifiers and we can change this ...
|
||||
* However this cheat doesn't work with MinGW as there's no support for %m :-(
|
||||
*/
|
||||
#if defined( __MINGW32__)
|
||||
# pragma GCC diagnostic ignored "-Wformat"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user