Home » U++ Library support » U++ Core » HtmlTable class example request
Re: HtmlTable class example request [message #46116 is a reply to message #46115] |
Tue, 08 March 2016 22:13 |
|
forlano wrote on Tue, 08 March 2016 21:50- Skylark need to be compiled with MT. I suppose I must compile even my program with this flag. Does it mean something in term; Yes, I think it means the entire program must have MT flag. I tried to to trick it and it actually compiles as far as Core, Sql and Skylark packages have MT flag. The program even runs and works, but ends with segfault at the end of main. On the other hand, MT flag doesn't change much, as long as you don't use threads, so it is probably not a big deal...
forlano wrote on Tue, 08 March 2016 21:50- Shat that dummy SkylarkApp does? It can interact in some way or stay there as a dead code? Well, actually you can us this to your advantage. E.g. to set configuration, such as where the templates are stored or whether they should be cached. Example: SkylarkApp dummy;
SkylarkApp::Config().use_caching = false;
SkylarkApp::Config().path = "/some/path/templates";
But other than this, it is just a lot of dead code wrapping a configuration object.
Honza
|
|
|
Goto Forum:
Current Time: Fri May 10 22:33:14 CEST 2024
Total time taken to generate the page: 0.01975 seconds
|