nanogui: [PATCH] compile fix with FONTMAPPER


Previous by date: 19 Sep 2005 20:58:09 +0100 how to use the mdemo code in my application, Harshapvstus
Next by date: 19 Sep 2005 20:58:09 +0100 [PATCH] compile fix without HAVE_FILEIO, Alexander Neundorf
Previous in thread:
Next in thread: 19 Sep 2005 20:58:09 +0100 Re: [PATCH] compile fix with FONTMAPPER, Alexander Neundorf

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]

Previous by date: 19 Sep 2005 20:58:09 +0100 how to use the mdemo code in my application, Harshapvstus
Next by date: 19 Sep 2005 20:58:09 +0100 [PATCH] compile fix without HAVE_FILEIO, Alexander Neundorf
Previous in thread:
Next in thread: 19 Sep 2005 20:58:09 +0100 Re: [PATCH] compile fix with FONTMAPPER, Alexander Neundorf


Powered by ezmlm-browse 0.20.