From a858be7332e331e0244e4dba7b0931b6072ffd3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Mon, 25 Oct 1999 23:41:50 +0000 Subject: [PATCH] removed a warning from screen and added CFLAGS in lyx.spec.in. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@247 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 6 ++++++ development/lyx.spec.in | 2 +- src/screen.C | 4 +--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 792093f33c..ae862e0e80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-10-26 Lars Gullik Bjønnes + + * development/lyx.spec.in (%build): add CFLAGS also. + + * src/screen.C (drawFrame): removed another warning. + 1999-10-25 Lars Gullik Bjønnes * src/BackStack.h: fixed initialization order in constructor diff --git a/development/lyx.spec.in b/development/lyx.spec.in index 9befda5057..93fdcbc1cc 100644 --- a/development/lyx.spec.in +++ b/development/lyx.spec.in @@ -36,7 +36,7 @@ place that the Redhat tetex package is installed and would see it. %setup %build -CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr +CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr make %install diff --git a/src/screen.C b/src/screen.C index b00fdfb12f..3eb74d34a3 100644 --- a/src/screen.C +++ b/src/screen.C @@ -789,9 +789,7 @@ void LyXScreen::drawVerticalTableLine(int x, int y1, int y2, bool on_off) void LyXScreen::drawFrame(int /*ft*/, int x, int y, int w, int h, FL_COLOR /*col*/, int /*b*/) { -#ifdef WITH_WARNINGS -#warning Implement this using X11 calls, and the repaint problems are gone! -#endif +// Implement this using X11 calls, and the repaint problems are gone! // At least, I think that should do it since we only have them after // one of these buttons are displayed now! Lars, it seems you've hit the // nail :-) (Asger)