DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2143
Version: 2.0-current
GCC4 emits these warnings/suggestions when compiling FLTK2. Most of them
are pretty pointless, but some are significant. I have marked these with a
-> at the beginning of the line.
Link: http://www.fltk.org/str.php?L2143
Version: 2.0-current
Adjuster.cxx:83: warning: suggest parentheses around arithmetic in operand of
|
Browser.cxx:1410: warning: suggest parentheses around && within ||
Browser.cxx:1526: warning: suggest parentheses around && within ||
Choice.cxx:84: warning: suggest parentheses around arithmetic in operand of |
compose.cxx:380: warning: suggest parentheses around && within ||
CycleButton.cxx:84: warning: suggest parentheses around && within ||
default_glyph.cxx:129: warning: suggest parentheses around arithmetic in
operand of |
drawtext.cxx:197: warning: suggest parentheses around arithmetic in operand
of |
drawtext.cxx:219: warning: suggest parentheses around arithmetic in operand
of |
FileBrowser.cxx:295: warning: suggest parentheses around && within ||
FloatInput.cxx:66: warning: suggest parentheses around && within ||
FloatInput.cxx:69: warning: suggest parentheses around && within ||
FloatInput.cxx:70: warning: suggest parentheses around && within ||
HelpView.cxx:2337: warning: ignoring return value of 'char* getcwd(char*,
size_t)', declared with attribute warn_unused_result
HelpView.cxx:2461: warning: ignoring return value of 'char* getcwd(char*,
size_t)', declared with attribute warn_unused_result
HelpView.cxx:2678: warning: ignoring return value of 'size_t fread(void*,
size_t, size_t, FILE*)', declared with attribute warn_unused_result
Input.cxx:443: warning: suggest parentheses around && within ||
Input.cxx:871: warning: suggest parentheses around && within ||
Input.cxx:1479: warning: suggest parentheses around && within ||
InputBrowser.cxx:348: warning: suggest parentheses around arithmetic in
operand of |
->lock.cxx:160: warning: missing braces around initializer for 'char [4]'
lock.cxx:214: warning: ignoring return value of 'int pipe(int*)', declared
with attribute warn_unused_result
lock.cxx:231: warning: ignoring return value of 'ssize_t write(int, const
void*, size_t)', declared with attribute warn_unused_result
Menu_popup.cxx:299: warning: suggest parentheses around && within ||
Menu_popup.cxx:717: warning: suggest parentheses around && within ||
NumericInput.cxx:204: warning: suggest parentheses around && within ||
NumericInput.cxx:225: warning: suggest parentheses around && within ||
PackedGroup.cxx:153: warning: suggest parentheses around && within ||
PackedGroup.cxx:157: warning: suggest parentheses around && within ||
->Preferences.cxx:334: warning: suggest explicit braces to avoid ambiguous
'else'
Preferences.cxx:773: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
Preferences.cxx:774: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
Preferences.cxx:775: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
Preferences.cxx:895: warning: ignoring return value of 'size_t fwrite(const
void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
Preferences.cxx:903: warning: ignoring return value of 'size_t fwrite(const
void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
run.cxx:99: warning: suggest parentheses around && within ||
->x11/run.cxx:992: warning: 'XExtensionVersion* XGetExtensionVersion(Display*,
const char*)' is deprecated (declared at
/usr/include/X11/extensions/XInput.h:1176)
->x11/run.cxx:992: warning: 'XExtensionVersion* XGetExtensionVersion(Display*,
const char*)' is deprecated (declared at
/usr/include/X11/extensions/XInput.h:1176)
run.cxx:462: warning: suggest parentheses around && within ||
Scrollbar.cxx:173: warning: suggest parentheses around && within ||
SharedImage.cxx:176: warning: ignoring return value of 'size_t fread(void*,
size_t, size_t, FILE*)', declared with attribute warn_unused_result
ShortcutAssignment.cxx:214: warning: suggest parentheses around arithmetic in
operand of |
TabGroup.cxx:247: warning: suggest parentheses around && within ||
TextBuffer.cxx:358: warning: suggest parentheses around && within ||
TextBuffer.cxx:1802: warning: 'rectend' may be used uninitialized in this
function
TextBuffer.cxx:1802: warning: 'rectstart' may be used uninitialized in this
function
TextBuffer.cxx:1821: warning: 'rectend' may be used uninitialized in this
function
TextBuffer.cxx:1821: warning: 'rectstart' may be used uninitialized in this
function
TextBuffer.cxx:1834: warning: 'rectend' may be used uninitialized in this
function
TextBuffer.cxx:1834: warning: 'rectstart' may be used uninitialized in this
function
TiledGroup.cxx:52: warning: suggest parentheses around && within ||
TiledGroup.cxx:52: warning: suggest parentheses around && within ||
TiledGroup.cxx:54: warning: suggest parentheses around && within ||
TiledGroup.cxx:54: warning: suggest parentheses around && within ||
TiledGroup.cxx:60: warning: suggest parentheses around && within ||
TiledGroup.cxx:60: warning: suggest parentheses around && within ||
TiledGroup.cxx:62: warning: suggest parentheses around && within ||
TiledGroup.cxx:62: warning: suggest parentheses around && within ||
ValueInput.cxx:107: warning: suggest parentheses around arithmetic in operand
of |
Widget.cxx:639: warning: suggest parentheses around && within ||
Widget_draw.cxx:105: warning: suggest parentheses around arithmetic in
operand of |
Widget_draw.cxx:119: warning: suggest parentheses around && within ||
Widget_draw.cxx:277: warning: suggest parentheses around arithmetic in
operand of |
Widget_draw.cxx:301: warning: suggest parentheses around arithmetic in
operand of |
xpmImage.cxx:59: warning: suggest parentheses around && within ||
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs