[fpc-devel] void test( void *data ) to procedure test( var data ); ? is it safe ?

Marco van de Voort marcov at stack.nl
Mon Jun 20 11:11:46 CEST 2011

In our previous episode, Ludo Brands said:
> 1: void test(void *data)
> 2: void test(void &data)
> The first one does compile in visual studio 2010 and the second does not.

The first is C and C++, the second might be C++ only. (& is also used for
smartpointer related stuff in C++)

More information about the fpc-devel mailing list