This is the mail archive of the gcc-patches@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]

Re: VAX Ultrix bootstrap failure with gcc-2.96


 > From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
 > 
 > > Yes, I understand the namespace pollution issue.  I think the solution
 > > that Dave is working on will not leave GETGROUPS_T in unistd.h, but I
 > > have yet to actually see it. :-)
 > 
 > Here is the patch for review.
 > 
 > -- 
 > J. David Anglin                                  dave.anglin@nrc.ca
 > National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)
 > 
 > 2000-06-16  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
 > 
 > 	* Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
 > 	* configure.in (TARGET_GETGROUPS_T): Evaluate.
 > 	* sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
 > 	of second argument of getgroups.
 > 	* configure, config.in: Rebuilt.


I built native stage1 with this patch on sunos4 and fixproto created
the correct prototype for getgroups().  So looks good.

I noticed you used TARGET_GETGROUPS_T [] instead of TARGET_GETGROUPS_T *.
Are the two equivalent in prototypes?  (I think I recall they are, but
I wanted to be sure.)

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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