emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using stpcpy


From: cg
Subject: Re: Using stpcpy
Date: Sat, 27 Dec 2014 19:57:07 +0800
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 12/27/2014 3:45 PM, Eli Zaretskii wrote:

Sorry, I don't understand this: there's no call to stpcpy on line 350
of ntlib.c, or anywhere else in ntlib.c, actually.  That line calls


Yes, I was confused by the error message too, and found ntlib.c
didin't use stpcpy at all. It looks like it has something to do with
compiler optimization.

So I tried to use different optimization flags, and this error only
happens when -O2 or -Ofast is used as CFLAGS:

./autogen.sh
export CFLASG=-O0 # no error
#export CFLASG=-O1 # no error
#export CFLASG=-O2 # error!
#export CFLASG=-Ofast # error!
./confgure
make

I am using msys2.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]