Re: [bug] gst-parse.c:605:21: warning: unknown conversion type character 'O' in format [-Wformat=]

Holger Hans Peter Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <type=project&nid=1340&cid=682&[email protected]>
Issue status update for 
http://smalltalk.gnu.org/project/issue/1340
Post a follow up: 
http://smalltalk.gnu.org/project/comments/add/1340

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  dcb
 Updated by:   zecke
 Status:       active

The warnings are annoying but they are misleading. Our "printf" comes
from the GNU snprintfv library which has a function to register
extensions (e.g. %O) to it. I think the documentation from GNU libc
applies here as well:
https://www.gnu.org/software/libc/manual/html_node/Printf-Extension-Exam....

Maybe you can see if we can teach the compiler that %O is valid and
expects an OOP?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.