problems, rev 12354

Mark Johnson mrj001 at shaw.ca
Tue Jan 17 08:24:37 EST 2006


OOPS, must have hit reply instead of Reply All.

I believe that that is my CFLAGS in the configure 27271:  gcc -g ...  line.

It was the -Wunused -Werror that caused the problem.  One warns about 
the unused variable (p in the test for fdopen).  The other makes 
warnings into errors.
Mark

Derek Atkins wrote:

>Thanks.  Forwarded to the list so others can see.  I'm curious what
>you put into CFLAGS..
>
>-derek
>
>Mark Johnson <mrj001 at shaw.ca> writes:
>
>  
>
>>>Can you cut-and-paste the portions of config.log about this test?
>>>
>>>      
>>>
>>I found the following three lines in config.log, and that solved it for me:
>>configure:27271: gcc -c -g -march=i486 -mcpu=pentium2 -g -Wall -Wunused 
>>-Werror -D__USE_POSIX  conftest.c >&5
>>conftest.c: In function `main':
>>conftest.c:99: warning: unused variable `p'
>>
>>The CFLAGS I passed interacted with the unused variable p and fooled 
>>configure into thinking there was no fdopen.  I changed my CFLAGS and 
>>configure ran successfully.
>>
>>Mark
>>
>>
>>    
>>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060117/d3b74937/attachment.html


More information about the gnucash-devel mailing list