Commit Graph

22 Commits

Author SHA1 Message Date
pfg
df0886c3c2 gperf: reverse size_type patch from r258115.
Silencing the broken warning as done in r258139 renders the
code unreacheable. An option could've been to turn off the
warnings in gperf but given that the code is not being used
it is better to just revert the original change altogether.

This code was never MFC'd.
2014-01-07 01:40:49 +00:00
dim
aa956116c1 Get rid of register keyword usage in gperf, it is totally obsolete for
C++, and this allows gperf to be compiled for C++11 without a warning
about it.

MFC after:	3 days
2013-12-23 00:02:18 +00:00
sbruno
b4c1ce5f71 Repair build after svn r258115
options.get_size_type() appears to return a const char *, so assume that
its a string as oppose to *nothing*.  I have no idea what apple's code is
trying to do here:

http://opensource.apple.com/source/gperf/gperf-9/patches/size_type.patch
2013-11-14 18:41:58 +00:00
pfg
08727aabff gperf: bring small update from Apple Developers tools 4.4
From [1]

offset.patch
Makes use the C offsetof() macro.

size_type.patch
Lets you specify the type for length parameters.

[1] http://opensource.apple.com/source/gperf/gperf-9/patches/

MFC after:	3 weeks
2013-11-14 00:57:20 +00:00
sbruno
c8a1fc11ec Queisce warnings for gperf -Wlogical-op-parentheses with parens to
explicitly define the logic
2013-10-26 14:49:19 +00:00
sbruno
99bb3328c3 Queisce quite a few clang warnings -Wdangling-else due to this work around
for compiling gperf under Visual Studio from 1998.

ref. http://msdn.microsoft.com/en-us/library/b80153d8%28v=vs.90%29.aspx
ref. http://stackoverflow.com/questions/984878/what-is-the-possible-use-for-define-for-if-false-else-for
2013-10-25 01:10:07 +00:00
eadler
0af88b7eae Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Reviewed by:	imp, toolchain@
Approved by:	cperciva
MFC after:	2 weeks
2012-12-06 01:31:25 +00:00
dim
b0fe51d189 In contrib/gperf/src/output.cc, use the correct printf length modifier
for a ptrdiff_t.

MFC after:	1 week
2011-12-16 23:15:11 +00:00
bapt
2b40a74eb2 Reimport .texi and .texinfo necessary to build the info documentation.
Reported by:	flo
Approved by:	cognet
2011-11-28 14:23:09 +00:00
bapt
1d0a25d803 upgrade gperf to the last GPLv2 version (3.0.3)
Reviewed by:	cognet
Approved by:	cognet
2011-11-28 12:29:16 +00:00
benl
2071e3510a Fix clang warnings.
Approved by:	philip (mentor)
2011-06-18 13:56:33 +00:00
benl
64d799037e Fix clang warnings.
Approved by:	philip (mentor)
2011-05-18 21:06:20 +00:00
ache
d14f8bf4c1 Remove unneded files 2004-02-17 01:51:07 +00:00
obrien
3fcb147172 Helper to trim extracted files for use when importing new versions of
gperf.  This version coresponds to the gerpf 2.7.2 import.
2000-10-13 12:36:13 +00:00
obrien
d415827ca3 This commit was generated by cvs2svn to compensate for changes in r67064,
which included commits to RCS files with non-trunk default branches.
2000-10-13 12:04:55 +00:00
obrien
0bdce46a07 Virgin import of gperf v2.7.2. 2000-10-13 12:04:55 +00:00
kris
752a49461c Zap old files no longer included in gperf 2.7 2000-03-25 08:25:58 +00:00
kris
533744c771 Virgin import of gperf v2.7 2000-03-25 07:45:29 +00:00
kris
95253f7f33 This commit was generated by cvs2svn to compensate for changes in r58551,
which included commits to RCS files with non-trunk default branches.
2000-03-25 07:45:29 +00:00
jb
97367c5e32 NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD. 1998-01-09 20:02:20 +00:00
peter
c74abea15c Make this compile. they use a variable "abort" which is prototyped. 1996-09-10 13:58:10 +00:00
peter
6cfe3ae61b Import the FSF release of gperf-2.1a, used in the build of gcc-2.7.2.1
(to be imported soon).
1996-09-10 13:48:14 +00:00