unknown conversion %m - Mailing list pgsql-hackers

From Andrew Dunstan
Subject unknown conversion %m
Date
Msg-id 4DB79763.2010805@dunslane.net
Whole thread Raw
Responses Re: unknown conversion %m
List pgsql-hackers
All or almost all the warnings seen on Windows/Mingw of the type 
"warning: unknown conversion type character 'm' in format" come from 
checking of three functions: errmsg, elog and errdetail. I therefore 
propose to disable the attribute checking of those three functions, on 
Windows only (since that's the only place I've seen the warnings). 
That's a much more conservative change than I made previously which 
would have turned off all format warnings on Mingw, and along with 
fixing the INT64_FORMAT (see email just sent) would fix the vast 
majority of compiler warnings, so we'd be almost clean again on MinGW.

cheers

andrew


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: fixing INT64_FORMAT warnings on Mingw
Next
From: Tom Lane
Date:
Subject: Re: unknown conversion %m