From 259c933b56bf80029a57b6601642cc7a2f63b9e0 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Sun, 16 Jan 2000 00:57:58 +0000 Subject: [PATCH] Replaced \ with / git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/font/makefile.g95 | 17 ++++++++++++++++- samples/propsize/makefile.g95 | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/samples/font/makefile.g95 b/samples/font/makefile.g95 index 1483aaa476..e7f7787fe5 100644 --- a/samples/font/makefile.g95 +++ b/samples/font/makefile.g95 @@ -12,5 +12,20 @@ WXDIR = ../.. TARGET=font OBJECTS = $(TARGET).o -include $(WXDIR)\src\makeprog.g95 +include $(WXDIR)/src/makeprog.g95 + +# There is a bug in all 2.95.x versions of gcc that will cause +# unresolved # references when linking the example here. It has +# to do with class nesting. Only happens when optimization is +# turned on. +# +# See: +# +# Linkname: g++ bug with classes nested inside functions +# URL: http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00524.html +# +# for more info. + +OPT := $(filter-out -O -O1 -O2 -O3 -O4 -O5 -O6 -Os, $(OPT)) + diff --git a/samples/propsize/makefile.g95 b/samples/propsize/makefile.g95 index 7a2bd64b3d..587135b10d 100644 --- a/samples/propsize/makefile.g95 +++ b/samples/propsize/makefile.g95 @@ -12,5 +12,5 @@ WXDIR = ../.. TARGET=propsize OBJECTS = $(TARGET).o -include $(WXDIR)\src\makeprog.g95 +include $(WXDIR)/src/makeprog.g95 -- 2.45.2