c++/6965: typedef'd void pointer not recognized as const

nathan@gcc.gnu.org nathan@gcc.gnu.org
Sun Jun 9 04:08:00 GMT 2002


Synopsis: typedef'd void pointer not recognized as const

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Jun  9 04:08:10 2002
State-Changed-Why:
    not a bug. your code is illformed. In particular
    	typedef void *voidp;
    	const voidp i;
    results in i haveing type 'void *const', not 'void const *'
    
    nathan

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6965



More information about the Gcc-bugs mailing list