[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Small compilation problem under Solaris
From:       Simon Hausmann <shaus () helios ! med ! Uni-Magdeburg ! DE>
Date:       2000-03-14 13:22:00
[Download RAW message or body]


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
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic