freebsd-dev/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 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ChangeLog GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
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 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
configure GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
configure.ac GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
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 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
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 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
macro.c libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
makedepend.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
Makefile.in gcc: Bring updates from Google's enhanced gcc-4.2.1. 2013-11-23 18:32:53 +00:00
makeucnid.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
mkdeps.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
pch.c libcpp: Merge fixes from upstream 2013-12-02 03:47:08 +00:00
symtab.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
system.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
traditional.c GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ucnid.h GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00
ucnid.tab GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00