[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
update to regex broke branch-1_4 on cygwin
From: |
ericblake |
Subject: |
update to regex broke branch-1_4 on cygwin |
Date: |
Fri, 04 Feb 2005 20:55:41 +0000 |
Gary, this change:
2005-02-04 Gary V. Vaughan <address@hidden>
* lib/regex.c, lib/regex.h: Updated from gnulib.
* src/input.c (set_word_regexp): Don't change the word_regexp
unless it compiles correctly.
* NEWS: Updated.
Reported by Frank Schwidom <address@hidden>
* Makefile.in (stamp-h): Regenerate config.h properly.
broke compilation on cygwin, since newlib does not have gettext() without
linking with -lintl.
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O2 regex.c
regex.c: In function `re_compile_pattern':
regex.c:7884: warning: return makes pointer from integer without a cast
regex.c: In function `regerror':
regex.c:8173: warning: assignment makes pointer from integer without a cast
...
gcc -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o macro.o
output.o path.o symtab.o ../lib/libm4.a
../lib/libm4.a(regex.o)(.text+0x5f1a): In function `regerror':
/home/eblake/m4/lib/regex.c:8173: undefined reference to `_gettext'
../lib/libm4.a(regex.o)(.text+0x5c3a): In function `re_compile_pattern':
/home/eblake/m4/lib/regex.c:7884: undefined reference to `_gettext'
collect2: ld returned 1 exit status
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- update to regex broke branch-1_4 on cygwin,
ericblake <=