diff options
| author | Manolo Gouy <Manolo> | 2014-12-20 15:00:27 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-12-20 15:00:27 +0000 |
| commit | 09230a9878ea780ada3e807c5263b586a7aeda0d (patch) | |
| tree | ee431c9cebdc2589912021411c0dbf131d3adedb | |
| parent | a60e5400e22d951ecd920e3880636b9e175c7371 (diff) | |
Removed compilation warning when compiling fluid/file.cxx on apple.
Also, added explanatory comment of the purpose of a GNUC-specific
attribute in FL/fl_ask.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/fl_ask.H | 2 | ||||
| -rw-r--r-- | fluid/file.cxx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/FL/fl_ask.H b/FL/fl_ask.H index a3713e0c1..ad1b7b236 100644 --- a/FL/fl_ask.H +++ b/FL/fl_ask.H @@ -39,6 +39,8 @@ enum Fl_Beep { }; # ifdef __GNUC__ +/* the GNUC-specific attribute appearing below in prototypes with a variable list of arguments + helps detection of mismatches between format string and argument list at compilation time */ # define __fl_attr(x) __attribute__ (x) # else # define __fl_attr(x) diff --git a/fluid/file.cxx b/fluid/file.cxx index 128c8e12a..f4cf18c1c 100644 --- a/fluid/file.cxx +++ b/fluid/file.cxx @@ -26,6 +26,8 @@ #include "../src/flstring.h" #include <stdarg.h> #include "alignment_panel.h" +#include <FL/Fl.H> +#include "Fl_Widget_Type.h" //////////////////////////////////////////////////////////////// // BASIC FILE WRITING: @@ -292,9 +294,6 @@ const char *read_word(int wantbrace) { //////////////////////////////////////////////////////////////// -#include <FL/Fl.H> -#include "Fl_Widget_Type.h" - // global int variables: extern int i18n_type; extern const char* i18n_include; |
