From e72630762df5d3dfb34bf0866b7d908c93108bff Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 11 Apr 2005 07:35:33 +0000 Subject: Remove all warnings for Mac buidl with gcc (except one) - some warnings about using char for indexing - some warnings about using signed int in strncmp - some warnings about deprecated fl_ask (replaced with fl_choice) The on warning not removed is the strftime("%c") in fluid since I don't know anything about PS and I don't know if a different data format would break PS. Mike? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/forms.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/forms.H') diff --git a/FL/forms.H b/FL/forms.H index d6a45f181..46409772a 100644 --- a/FL/forms.H +++ b/FL/forms.H @@ -645,7 +645,7 @@ fl_add_free(int t,double x,double y,double w,double h,const char* l, #include "fl_ask.H" #include "fl_show_colormap.H" -inline int fl_show_question(const char* c, int = 0) {return fl_ask(c);} +inline int fl_show_question(const char* c, int = 0) {return fl_choice(c,"No","Yes",0L);} FL_EXPORT void fl_show_message(const char *,const char *,const char *); FL_EXPORT void fl_show_alert(const char *,const char *,const char *,int=0); FL_EXPORT int fl_show_question(const char *,const char *,const char *); -- cgit v1.2.3