Re: [fpc-devel] Error when trying to compile code using macros

2014-10-13 Thread Michael Schnell
On 10/11/2014 06:04 PM, Jonas Maebe wrote: Macro's never replace text in the middle of an identifier. Does the optional extended FPC macro processor not support a concatenation syntax (such as ## with the C macro preprocessor) ? In theory it could be possible to use the gnu C macro preproces

Re: [fpc-devel] Error when trying to compile code using macros

2014-10-11 Thread Jonas Maebe
On 11/10/14 17:55, Lag Programming wrote: > Compile Project, Target: ConditionalJumpsAnalysis: Exit code 256, > Errors: 4, Warnings: 50, Hints: 2 > ConditionalJumpsAnalysis.lpr(31,2) Warning: Comment level 2 found > ConditionalJumpsAnalysis.lpr(59,10) Error: overloaded functions have the > same par

[fpc-devel] Error when trying to compile code using macros

2014-10-11 Thread Lag Programming
Hi! I don't want to fill a useless bug report, reason why I check this again, this time with you. The following code syntax doesn't compile. {$mode objfpc}{$H+} {$MACRO ON} begin {$define debugmacros:= function variabletype_passingmode_one(passingmode x,y:variabletype):variabletype;localmodif