[Top][All Lists]

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

Re: Using stpcpy

From: Eli Zaretskii
Subject: Re: Using stpcpy
Date: Sat, 27 Dec 2014 09:45:38 +0200

> From: cg <address@hidden>
> Date: Sat, 27 Dec 2014 13:56:14 +0800
> On 12/27/2014 6:01 AM, Dani Moncayo wrote:
> > Same error:
> >
> > c:/cygwin64/home/Dani/devel/emacs/repo/lib-src/ntlib.c:350: undefined
> > reference to `stpcpy'
> >
> I got the same error. It seems caused by linking order of files, I fixed it
> by swapping $(NTLIB) and $(LOADLIBES) in lib-src/Makefile.in.
> Patch attached.

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
strcpy, not stpcpy.  Can you try to find out why do you get this
error?  If nothing else helps, please look in a preprocessed version
of ntlib.c for any header files that "#define strcpy stpcpy" or some


reply via email to

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