Home » Developing U++ » U++ Developers corner » Possible solution of "icpp problem"
Re: Possible solution of "icpp problem" [message #46851 is a reply to message #46850] |
Sun, 28 August 2016 10:07 |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |
|
|
First of all, let's think do we really need to keep icpp-compatibility at all. Or it is possible to forget about them once and for all.
Talking about the solution proposed (to inject registration calls with header - if I understand it correctly), I think this is possible way, but it has one [possible] issue with initialization order. We can't predict the way headers are included and we can't predict the sequence of initialization.
I always wondered why plugins are not initialized inside CONSOLE_APP_MAIN/GUI_APP_MAIN or with auto-initialization classes. (I mean something like that: http://zeuxcg.org/2010/10/10/death-by-static-initialization/ )
[Updated on: Sun, 28 August 2016 10:12] Report message to a moderator
|
|
|
|
|
Possible solution of "icpp problem"
By: mirek on Sat, 27 August 2016 16:09
|
|
|
Re: Possible solution of "icpp problem"
|
|
|
Re: Possible solution of "icpp problem"
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Sun, 28 August 2016 17:49
|
|
|
Re: Possible solution of "icpp problem"
|
|
|
Re: Possible solution of "icpp problem"
|
|
|
Re: Possible solution of "icpp problem"
By: koldo on Mon, 29 August 2016 09:18
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Thu, 15 September 2016 09:14
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Sun, 28 August 2016 17:41
|
|
|
Re: Possible solution of "icpp problem"
By: kov_serg on Thu, 22 September 2016 16:44
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Thu, 22 September 2016 17:02
|
|
|
Re: Possible solution of "icpp problem"
By: kov_serg on Fri, 23 September 2016 00:32
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Fri, 23 September 2016 09:26
|
|
|
Re: Possible solution of "icpp problem"
By: mr_ped on Sun, 25 September 2016 04:16
|
|
|
Re: Possible solution of "icpp problem"
By: kov_serg on Mon, 26 September 2016 17:05
|
|
|
Re: Possible solution of "icpp problem"
By: mirek on Mon, 26 September 2016 17:43
|
|
|
Re: Possible solution of "icpp problem"
By: kov_serg on Mon, 26 September 2016 18:35
|
Goto Forum:
Current Time: Mon Apr 29 15:56:34 CEST 2024
Total time taken to generate the page: 0.03292 seconds
|