|
| From: | Kai Torben Ohlhus |
| Subject: | [Octave-bug-tracker] [bug #55046] Add static compile-time checking of printf functions using compiler attributes |
| Date: | Thu, 29 Nov 2018 07:55:58 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 |
Update of bug #55046 (project octave):
Status: Need Info => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #17:
Finally I made progress here
http://hg.savannah.gnu.org/hgweb/octave/rev/216d857732eb. My problem was like
so often, that I was working at the "wrong" place. There are indeed two
spots, where macros like "OCTAVE_NORETURN" are defined. Those are:
build-aux/mk-octave-config-h.sh
oct-conf-post.in.h
Maybe one can avoid this duplication?
After adding the new macro "OCTAVE_FORMAT_ATTRIBUTE" to both, everything
worked as expected and I could detect more warnings, that might lead to bad
errors: http://hg.savannah.gnu.org/hgweb/octave/rev/8c72f0345ee8
I think we can now close this report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55046>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |