Your change to intl/localealias.c (read_alias_file)

Alan Lehotsky lehotsky@tiac.net
Wed May 31 13:23:00 GMT 2000


At 3:42 PM -0400 5/31/00, Richard Kenner wrote:
>     memcpy never returns void.  Read ISO C.  If you mean the replacement
>     of memcpy by bcopy, then you have to fix the macro to return the
>     destination pointer.
>
>Not all of the world is ISO C.  GCC is required to be compilable by
>all current vendor compilers.  Try "man memcpy" on Digital Unix on
>Alpha: it returns void there.


	If true, that's probably a DOC error, since Digital Unix is

	1/ ANSI conforming
	2/ POSIX conforming
	3/ XPG4 conforming
	4/ based on OSF/1 source which correctly implements memcpy()
	   as void *

	Even Digital wouldn't be so brain-damaged as to screw this up
	I hope!

	-- Al Lehotsky
-- 
------------------------------------------------------------------------

		    Quality Software Management
		http://www.tiac.net/users/qsmgmt
			apl@alum.mit.edu
			(978)287-0435 Voice
			(978)808-6836 Cell
			(978)287-0436 Fax

	Software Process Improvement and Management Consulting
	     Language Design and Compiler Implementation


More information about the Gcc-patches mailing list