From fa84b58cd597a327e81244bcd517a029a7e63d04 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 21 Mar 2022 17:03:13 +0100 Subject: Fix silly MSVC 2010 parser warnings Code like "void copy(const char */*stuff*/, ...)" would issue the warning "'*/' seen outside comment" which is formally true but ... These warnings don't appear with newer MS compilers, but I fixed them anyway. --- src/Fl_Screen_Driver.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Screen_Driver.H') diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H index 60ad11dcd..5c08e2af1 100644 --- a/src/Fl_Screen_Driver.H +++ b/src/Fl_Screen_Driver.H @@ -200,11 +200,11 @@ public: // supports Fl_Window::default_icons() virtual void default_icons(const Fl_RGB_Image *icons[], int count); // implement to support copy-to-clipboard - virtual void copy(const char */*stuff*/, int /*len*/, int /*clipboard*/, const char */*type*/) {} + virtual void copy(const char * /*stuff*/, int /*len*/, int /*clipboard*/, const char * /*type*/) {} // implement to support paste-from-clipboard - virtual void paste(Fl_Widget &, int /*clipboard*/, const char */*type*/) {} + virtual void paste(Fl_Widget &, int /*clipboard*/, const char * /*type*/) {} // implement to support paste-from-clipboard - virtual int clipboard_contains(const char */*type*/) {return 0;} + virtual int clipboard_contains(const char * /*type*/) {return 0;} // implement to support paste-from-clipboard virtual void clipboard_notify_change() {} }; -- cgit v1.2.3