From kde-devel Tue Mar 14 13:22:00 2000 From: Simon Hausmann Date: Tue, 14 Mar 2000 13:22:00 +0000 To: kde-devel Subject: Re: Small compilation problem under Solaris X-MARC-Message: https://marc.info/?l=kde-devel&m=95304016502726 Add -fpermissive to the compilation flags :) Bye, Simon On Tue, 14 Mar 2000, Michael Goffioul wrote: > Hi, > > I have a compilation problem under Solaris-2.7 with gcc-2.95.1. In most > X11 include files, there are function prototypes with no return type (default > to int). Gcc complains that ANSI C++ forbids that. Is there a way to make gcc > accepting such prototypes as I can't change the X11 include files. > > Thanks. > > -- > Michael Goffioul > Electrical engineer > > Microwave Laboratory - UCL > Maxwell Bldg > 3, place du Levant > 1348 Louvain-la-Neuve > Belgium > > Tel: +32 10 47 23 15 > Fax: +32 10 47 87 05 >