nanogui: [PATCH] compile fix with FONTMAPPER
Subject:
[PATCH] compile fix with FONTMAPPER
From:
Alexander Neundorf ####@####.####
Date:
19 Sep 2005 20:58:09 +0100
Message-Id: <200509192157.58521.neundorf@kde.org>
Hi,
the attached patch makes microwindows compile with
#define FONTMAPPER 1.
Otherwise the compiler complains:
/usr/src/ecos/packages/services/gfx/mw/current/src/engine/selfont.c:406:
conflicting types for `select_font'
/usr/src/ecos/packages/services/gfx/mw/current/src/engine/selfont.c:23:
previous declaration of `select_font'
make[4]: *** [src/engine/selfont.o.d] Error 1
make[4]: Leaving directory
`/home/src/ecos-stuff/withfile/ecos/services/gfx/mw/current'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/src/ecos-stuff/withfile/ecos'
make[2]: *** [ecos/install/lib/target.ld] Error 255
make[2]: Leaving directory `/home/src/ecos-stuff/withfile'
make[1]: *** [CMakeFiles/mw-min.dir/all] Error 2
make[1]: Leaving directory `/home/src/ecos-stuff/withfile'
make: *** [all] Error 2
#23: int select_font(const PMWLOGFONT plogfont, char *physname);
#406: int select_font(const PMWLOGFONT plogfont, const char **physname)
Please apply
Alex
--
Work: ####@####.#### - http://www.jenoptik-los.de
Home: ####@####.#### - http://www.kde.org
####@####.#### - http://www.neundorf.net
[Content type text/x-diff not shown. Download]