Please excuse my luddite question but, why would anyone do any of that? Some 
kind of syntactical thing perhaps?
-- 
Michael A Hawkins
Woodbury, CT 06798 USA
Mobile: 203-550-5502




On Wed, 2025-10-22 at 19:06 +0200, Philipp Klaus Krause wrote:
> SDCC currently allows qualified (unless by a storage-class qualifier) 
> and named void parameters:
> 
> int g(register void);
> int h(volatile void);
> int i(const void);
> int j(void x);
> int j(void x) { return 0;}
> 
> This is undefined behavior in C up to C23, but a constraint violation in 
> C2y. Is anyone using any of these? If not, I'd just make this an error.
> 
> Philipp
> 
> 
> 
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user


_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to