Quote:Original post by SunTzu
C4255: 'function' : no function prototype given: converting '()' to '(void)'
Actually I consider (void) to be worse than (). It's C++ and in C++ () means no parameters.
Quote:Original post by SunTzu
C4255: 'function' : no function prototype given: converting '()' to '(void)'
Quote:Original post by LodeQuote:Original post by SunTzu
C4255: 'function' : no function prototype given: converting '()' to '(void)'
Actually I consider (void) to be worse than (). It's C++ and in C++ () means no parameters.
Quote:Original post by mattdQuote:Original post by LodeQuote:Original post by SunTzu
C4255: 'function' : no function prototype given: converting '()' to '(void)'
Actually I consider (void) to be worse than (). It's C++ and in C++ () means no parameters.
Lucky that warning only applies to the C compiler then :)