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
This commit is contained in:
Lars Gullik Bjønnes 1999-10-25 23:41:50 +00:00
parent 0e2fed29ea
commit a858be7332
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
* development/lyx.spec.in (%build): add CFLAGS also.
* src/screen.C (drawFrame): removed another warning.
1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/BackStack.h: fixed initialization order in constructor

View File

@ -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

View File

@ -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)