diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-03-11 14:38:02 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-03-11 14:38:02 +0100 |
| commit | 8a7d4c9f610824fb203ef63730525dd474f03c34 (patch) | |
| tree | b6460ec759e6250c7ce81e32c5a3c6c188facb89 /src | |
| parent | 55132049c78694cae34d1d17ed20941be86cc965 (diff) | |
Remove CodeWarrior "support"
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued
since 2005) that defined the macro __MWERKS__. Code using this macro
and several comments have been removed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Group.cxx | 8 | ||||
| -rw-r--r-- | src/Fl_cocoa.mm | 18 |
2 files changed, 7 insertions, 19 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 4d4c3df61..229d33fbe 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -3,17 +3,17 @@ // // Group widget for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2018 by Bill Spitzak and others. +// Copyright 1998-2020 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 // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // -// http://www.fltk.org/str.php +// https://www.fltk.org/str.php // // The Fl_Group is the only defined container type in FLTK. @@ -54,7 +54,7 @@ int Fl_Group::find(const Fl_Widget* o) const { return i; } -// Metrowerks CodeWarrior and others can't export the static +// Some (* which? *) compilers / toolchains can't export the static // class member: current_, so these methods can't be inlined... /** diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 258209091..7ae551263 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3,31 +3,19 @@ // // MacOS-Cocoa specific code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2019 by Bill Spitzak and others. +// Copyright 1998-2020 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 // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // -// http://www.fltk.org/str.php +// https://www.fltk.org/str.php // -//// From the inner edge of a MetroWerks CodeWarrior CD: -// (without permission) -// -// "Three Compiles for 68Ks under the sky, -// Seven Compiles for PPCs in their fragments of code, -// Nine Compiles for Mortal Carbon doomed to die, -// One Compile for Mach-O Cocoa on its Mach-O throne, -// in the Land of MacOS X where the Drop-Shadows lie. -// -// One Compile to link them all, One Compile to merge them, -// One Compile to copy them all and in the bundle bind them, -// in the Land of MacOS X where the Drop-Shadows lie." #define CONSOLIDATE_MOTION 0 extern "C" { |
