Feature idea for GCC: link dependencies
Martin Schaffner
maschaffner@gmx.ch
Tue Jul 15 23:02:00 GMT 2003
On Dienstag, Juli 15, 2003, at 06:30 Uhr, Fergus Henderson wrote:
> Please post the documentation for the new feature.
OK, here it is:
http://in3www.epfl.ch/~schaffne/use/linkdep.documentation.txt
>> + if (colmax && colmax < 34)
>> + colmax = 34;
>
> What's the magic number 34?
34 already appears like this in mkdeps.c. Maybe it should be a
constant...
> s/int/bool/ (and likewise in the function definition)
In the current version of GCC, there is another "int" which should be
bool. The attached patch fixes that, and changes "dependence" into
"dependency" to be consistent with the rest of GCC. Changelog for the
patch:
2003-07-16 Martin Schaffner <maschaffner at gmx.ch>
* cpplib.h: Change int -> bool.
* cppinit.c: Likewise.
* mkdeps.h: Likewise.
* mkdeps.c: Likewise, and change dependence -> dependency.
Martin Schaffner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdeps.ptch
Type: application/octet-stream
Size: 3709 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030715/71fcf02e/attachment.obj>
More information about the Gcc
mailing list