|
|
Home » U++ Library support » U++ Core » Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined.
Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined. [message #16423] |
Fri, 13 June 2008 21:33 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
In such situation MK__s is defined as:
#define MK__s MK__s_(__LINE__)
And that means that INITBLOCK must always be put on lines with different line numbers (not just in one file, but in all files).
Otherwise INITBLOCK will produce functions having the same name, and as a result duplicate symbol names.
This issue prevents me from compiling of U++ using MSVC project files. (Have no idea how TheIDE does that.)
I’ve tried to improve INITBLOCK using __COUNTER__ macro, but couldn’t succeed in that.
Regards,
Novo
[Updated on: Fri, 13 June 2008 22:13] Report message to a moderator
|
|
|
|
|
Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined.
By: Novo on Fri, 13 June 2008 21:33
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Sun, 15 June 2008 19:18
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: Novo on Mon, 16 June 2008 06:05
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Mon, 16 June 2008 10:38
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Tue, 17 June 2008 09:33
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: kohait00 on Tue, 29 March 2011 13:10
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Tue, 29 March 2011 14:12
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: kohait00 on Tue, 29 March 2011 14:59
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Fri, 08 April 2011 23:31
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: kohait00 on Sun, 10 April 2011 16:18
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: kohait00 on Mon, 11 April 2011 11:59
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: mirek on Sat, 16 April 2011 19:59
|
|
|
Re: Incorrect implementation of INITBLOCK (and similar macros) in case when flagBLITZ is not defined
By: kohait00 on Mon, 18 April 2011 14:08
|
Goto Forum:
Current Time: Fri Nov 01 01:01:38 CET 2024
Total time taken to generate the page: 0.03097 seconds
|
|
|