This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Feature idea for GCC: link dependencies


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

Attachment: mkdeps.ptch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]