News for hackers. Stuff that matters.
Re:Declaring C String Constants by Koshkin on Wednesday May 17, 2017 @02:33PM (#14361403)
Yes, in C you must use 'void' to indicate that the function takes no arguments. (This is deprecated in C++ in favor to an empty argument list - which breaks backward compatibility with C).
Re:Declaring C String Constants by nercht12 on Wednesday May 17, 2017 @05:23PM (#14362920)
What happens if I extern a C function with no "void" then? Do I get a variadic in C++?
Re:Declaring C String Constants by Koshkin on Thursday May 18, 2017 @10:59AM (#14367773)
C++ is not backwards compatible with C in this regard.