Patrick, In C++, you must escape characters such as " with a backslash when they are part of a string. Change Error ("GetFontByName", "couldn't retrieve font %s nor backup font "fixed"", name) ; to Error ("GetFontByName", "couldn't retrieve font %s nor backup font \"fixed\"", name) ; Rene Brun Patrick Dupre LCMI wrote: > > Hello, > > I cannot compile: > > Error ("GetFontByName", "couldn't retrieve font %s nor backup font "fixed"", name) ; > > but: > Error ("GetFontByName", "couldn't retrieve font ", name) ; > is OK, this there a compiation option to use ? > I use Gcc:egcs. > > -- > --- > ============================================================================== > Patrick DUPRE | | Tel: (33 4) 76-88-78-51 > CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 > 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr > F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr > ==============================================================================
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET