[fpc-devel] QueryInterface on linux/i386 - adding 'in' parameter type?

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 29 16:58:34 CEST 2010


On 29 Aug 2010, at 16:54, Michael Van Canneyt wrote:

> His change would mean that the GCC compiler does things which we currently know nothing about, namely it pushes const parameters by reference in some cases.

No, the problem is many people (wrongly) use "const" in Pascal as an equivalent for "type const *" (= the unclean "const type *") of C, mostly for lack of a better alternative.


Jonas


More information about the fpc-devel mailing list