unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* W32 build fails with "incorrect" CFLAGS
@ 2009-04-26 23:28 Sridhar Boovaraghavan
  2009-04-27  3:03 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Sridhar Boovaraghavan @ 2009-04-26 23:28 UTC (permalink / raw)
  To: emacs-devel

Just so that others do not encounter something similar:

I had configured with --cflags -ID:\Utilities\GnuWin32\include and then did a
make bootstrap on a recently fetched HEAD.

This failed with the following error.

gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2    -ID:\Utilities\GnuWin32\include
 -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE
=5000000 -o oo-spd/i386/w32.o w32.c
w32.c:1749:27: warning: universal character names are only valid in C++ and C99
w32.c:1749:27: incomplete universal character name \U
w32.c:1749:27: warning: unknown escape sequence '\G'
w32.c:1749:27: warning: unknown escape sequence '\i'

I reconfigured with --cflags -ID:/Utilities/GnuWin32/include and it was fine.

Regards,
Sridhar





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: W32 build fails with "incorrect" CFLAGS
  2009-04-26 23:28 W32 build fails with "incorrect" CFLAGS Sridhar Boovaraghavan
@ 2009-04-27  3:03 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2009-04-27  3:03 UTC (permalink / raw)
  To: Sridhar Boovaraghavan; +Cc: emacs-devel

> From: Sridhar Boovaraghavan <sridhar_ml@yahoo.com>
> Date: Sun, 26 Apr 2009 23:28:31 +0000 (UTC)
> 
> gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2    -ID:\Utilities\GnuWin32\include
>  -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE
> =5000000 -o oo-spd/i386/w32.o w32.c
> w32.c:1749:27: warning: universal character names are only valid in C++ and C99
> w32.c:1749:27: incomplete universal character name \U
> w32.c:1749:27: warning: unknown escape sequence '\G'
> w32.c:1749:27: warning: unknown escape sequence '\i'
> 
> I reconfigured with --cflags -ID:/Utilities/GnuWin32/include and it was fine.

Do you have a port of a Unix shell (sh.exe) somewhere on your PATH?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-27  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 23:28 W32 build fails with "incorrect" CFLAGS Sridhar Boovaraghavan
2009-04-27  3:03 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).