From 8a7d4c9f610824fb203ef63730525dd474f03c34 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 11 Mar 2020 14:38:02 +0100 Subject: 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. --- src/Fl_Group.cxx | 8 ++++---- src/Fl_cocoa.mm | 18 +++--------------- 2 files changed, 7 insertions(+), 19 deletions(-) (limited to 'src') 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" { -- cgit v1.2.3