Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Possible solution of "icpp problem"
Re: Possible solution of "icpp problem" [message #46931 is a reply to message #46850] Thu, 22 September 2016 16:44 Go to previous messageGo to previous message
kov_serg is currently offline  kov_serg
Messages: 37
Registered: August 2008
Location: Russia
Member
Why not to use explicit method?
// upp_static_init.cpp
void upp_static_init() {
  {void plugin_gif_init(); plugin_gif_init();}
  // or this way
  #include <plugin/gif/gif.init>
  ...
}

[plugin/gif/gif.init]
{void plugin_gif_init(); plugin_gif_init();}

you'll have control over order of initialization and it looks like ordinary include.
And this file can be easyly generated with small tool.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved] Instant Upp crash on char input
Next Topic: Parser error: Unterminated string
Goto Forum:
  


Current Time: Mon Apr 29 18:10:00 CEST 2024

Total time taken to generate the page: 0.01965 seconds