all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: cg <chengang31@gmail.com>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Using stpcpy
Date: Sat, 27 Dec 2014 11:26:47 +0100	[thread overview]
Message-ID: <CAH8Pv0iR-6WSO-n9hChm0pTKOUzqwsbc7wb=toFD3Awdddx8Aw@mail.gmail.com> (raw)
In-Reply-To: <83tx0hlen1.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

> 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.

True.

>  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
> such.

I've generated the preprocessed version of ntlib.c with the same
command run by 'make', but adding a "-E" switch as first argument to
'gcc':

  $ gcc -E -std=gnu99  -mtune=pentium4 \
  -I. \
  -I../src -I../lib \
  -I<srcdir>/lib-src \
  -I<srcdir>/lib-src/../src \
  -I<srcdir>/lib-src/../lib \
  -mtune=pentium4  -DGLYPH_DEBUG=1 -DUSE_CRT_DLL=1 \
  -I <srcdir>/nt/inc -g3 -O2 -gdwarf-2 \
  -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"25.0.50\"" \
  -o etags.exe \
  <srcdir>/lib-src/etags.c regex.o \
  ../lib/libgnu.a  ntlib.o

But I don't find anything like "#define strcpy stpcpy" in the
preprocessed file, which I'm attaching to this message.

-- 
Dani Moncayo

[-- Attachment #2: etags.prep.c.zip --]
[-- Type: application/zip, Size: 48973 bytes --]

  reply	other threads:[~2014-12-27 10:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 16:41 Using stpcpy Dmitry Antipov
2014-12-23  6:47 ` Paul Eggert
2014-12-23 10:39   ` Dmitry Antipov
2014-12-25 12:25     ` Paul Eggert
2014-12-25 17:42       ` Dmitry Antipov
2014-12-25 23:44         ` Paul Eggert
2014-12-26 17:06           ` Dani Moncayo
2014-12-26 21:24             ` Eli Zaretskii
2014-12-26 22:01               ` Dani Moncayo
2014-12-27  5:56                 ` cg
2014-12-27  7:45                   ` Eli Zaretskii
2014-12-27 10:26                     ` Dani Moncayo [this message]
2014-12-27 10:39                       ` Eli Zaretskii
2014-12-27 10:54                         ` Dani Moncayo
2014-12-27 11:57                     ` cg
2014-12-27 19:52                       ` Eli Zaretskii
2014-12-27 20:03                         ` David Engster
2014-12-27 20:17                           ` Eli Zaretskii
2014-12-27 20:25                             ` Eli Zaretskii
2014-12-27 20:49                               ` David Engster
2014-12-28  3:36                                 ` Eli Zaretskii
2014-12-28 23:57                               ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH8Pv0iR-6WSO-n9hChm0pTKOUzqwsbc7wb=toFD3Awdddx8Aw@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=chengang31@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.