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

List:       kde-devel
Subject:    Small compilation problem under Solaris
From:       Michael Goffioul <goffioul () emic ! ucl ! ac ! be>
Date:       2000-03-14 13:13:12
[Download RAW message or body]

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