News for hackers. Stuff that matters.
Re:The Cscript Style Guide – CScript is the standard C by irishcoffee on Thursday January 22, 2026 @11:42PM (#46728516)
This is interesting, but I wouldn't say it is valid C. main() doesn't know about greet(auto s) and wouldn't be able to call it in valid C89, right?
Re:The Cscript Style Guide – CScript is the standard C by kevin_thibedeau on Friday January 23, 2026 @12:15AM (#46728699)
It's valid K&R since everything defaults to int. The linker will match the symbols sans prototype. That wasn't obsoleted until C23.
Re:The Cscript Style Guide – CScript is the standard C by irishcoffee on Saturday January 24, 2026 @09:57PM (#46750250)
TIL, thank you! (How embarrassing haha)
Re:The Cscript Style Guide – CScript is the standard C by oguz-ismail2 on Friday January 23, 2026 @12:03AM (#46728638)
It is valid C89. greet is automatically declared as

    int greet();
at call site.