1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/contrib/gcclibs/libcpp
Dimitry Andric d592e78278 Avoid "cc1: warning: is shorter than expected" when using GNU cpp in
combination with dtrace scripts, which have "#!/usr/sbin/dtrace -Cs"
shebang lines.  This is because dtrace positions the file pointer after
the shebang line, before passing the file to GNU cpp.

To fix the warning, adjust the size downwards by the current position,
after a bit of sanity checking.

Suggested by:	avg
MFC after:	1 week
2014-03-26 19:57:50 +00:00
..
include gcc: add Apple compatible -Wnewline-eof 2013-12-18 14:53:36 +00:00
aclocal.m4
ChangeLog
ChangeLog.apple libcpp: misc fixes from Apple's GCC. 2014-01-05 00:32:38 +00:00
ChangeLog.gcc43 libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
charset.c libcpp: misc fixes from Apple's GCC. 2014-01-05 00:32:38 +00:00
config.in
configure
configure.ac
directives-only.c gcc: Bring updates from Google's enhanced gcc-4.2.1. 2013-11-23 18:32:53 +00:00
directives.c libcpp: misc fixes from Apple's GCC. 2014-01-05 00:32:38 +00:00
errors.c Fix a segfault / internal compiler error. 2013-11-26 17:11:43 +00:00
expr.c libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
files.c Avoid "cc1: warning: is shorter than expected" when using GNU cpp in 2014-03-26 19:57:50 +00:00
identifiers.c
init.c gcc: add Apple compatible -Wnewline-eof 2013-12-18 14:53:36 +00:00
internal.h libcpp: misc fixes from Apple's GCC. 2014-01-05 00:32:38 +00:00
lex.c libcpp: misc fixes from Apple's GCC. 2014-01-05 00:32:38 +00:00
line-map.c
macro.c libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
makedepend.c
Makefile.in gcc: Bring updates from Google's enhanced gcc-4.2.1. 2013-11-23 18:32:53 +00:00
makeucnid.c
mkdeps.c
pch.c libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab