[fpc-devel] void test( void *data ) to procedure test( var data ); ? is it safe ?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Jun 20 19:43:29 CEST 2011
Michael Schnell schrieb:
> On 06/20/2011 09:55 AM, Ludo Brands wrote:
>> Prototypes for routines:
>>
>> 1: void test(void *data)
>> 2: void test(void&data)
> IMHO a "&" in a function prototype definition in C is conceptional
> nonsense.
A C compiler should report an syntax error, but Microsoft C/C++ is
something different from C and C++ standards :-(
DoDi
More information about the fpc-devel
mailing list