Re: [LIP] Qt help

Shridhar Daithankar <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization Persistent Systems Pvt. Ltd.
Message-ID <[email protected]>
Hmm..I am wrong..

komal wrote:

> See i used to compile same application on mandrake 9.2 using qmake -project
> ; qmake and make . How come i need to add stdio.h ?
> 
> Thank you
> 
> Komal
> ----- Original Message -----
> From: "Shridhar Daithankar" <[email protected]>
> To: <linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
> Sent: Sunday, March 21, 2004 3:41 PM
> Subject: Re: [LIP] Qt help
> 
> 
> 
>>komal wrote:
>>
>>>cc1: warning: "-fno-use-cxa-atexit" is valid for C++ but not for C/ObjC
>>>In file included from /usr/lib/qt-3.1/include/qwindowdefs.h:43,
>>>                 from /usr/lib/qt-3.1/include/qwidget.h:42,
>>>                 from /usr/lib/qt-3.1/include/qdesktopwidget.h:40,
>>>                 from /usr/lib/qt-3.1/include/qapplication.h:42,
>>>                 from hello.c:1:
>>>/usr/include/stdio.h:480: error: syntax error before "FILE"
>>>/usr/include/stdio.h:480: error: storage class specified for parameter
>>>`putc'

You have stdio.h from this message. Missed that first time.

Open stdio.h and see what precedes FILE declaration on that line. Must be 
somekind of typedef..

Can you post the entire error output. I think this is a wild goose chase..Just 
out of hunch..

  Shridhar


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.