From 7b2c770ef7385276bf4884ffe308a6c79a8046ef Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 13 Apr 2023 20:14:36 +0200 Subject: Fix trailing comma in enums of public headers Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers. --- FL/fl_message.H | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'FL/fl_message.H') diff --git a/FL/fl_message.H b/FL/fl_message.H index 5932b76b8..50f2ef991 100644 --- a/FL/fl_message.H +++ b/FL/fl_message.H @@ -1,7 +1,7 @@ // // Standard message header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -14,4 +14,9 @@ // https://www.fltk.org/bugs.php // +#ifndef _FL_fl_message_H_ +#define _FL_fl_message_H_ + #include "fl_ask.H" + +#endif -- cgit v1.2.3