In file included from file.cxx:296:
In file included from ./Fl_Widget_Type.h:23:
./Fl_Type.h:805:48: warning: attribute declaration must precede definition [-Wignored-attributes]
void write_string(const char *,...) __fl_attr((__format__ (__printf__, 1, 2)));
^
./Fl_Type.h:799:41: note: expanded from macro '__fl_attr'
# define __fl_attr(x) __attribute__ (x)
^
file.cxx:89:6: note: previous definition is here
void write_string(const char *format, ...) {
^
1 warning generated.
I have this warning at least in the file Fl_type.h.
Can someone help me to understand this warning and make it disappear ?
Thanks in advance,
Thierry