Home » Developing U++ » U++ Developers corner » Possible solution of "icpp problem"
Re: Possible solution of "icpp problem" [message #46856 is a reply to message #46854] |
Sun, 28 August 2016 20:37 |
|
mirek wrote on Sun, 28 August 2016 17:49Well, first of all, let us not to forget that the problem we really need to have solved is to force linker to include some .obj files from .lib (or .o from .a ... even if none of symbols is referenced from the rest of the code. What I am proposing is basically putting a dummy call from header to such .obj, just to have it 'activated'.
For me the issue always was "there is something non-standard that must be done when compiling/linking". If a static dummy object everything that needs to be done to turn this into "everything works with fine with all common C++ build systems" situation, than it will make me really happy
If the code stays as simple as you suggested, you could easily hide it into pair of simple macros. That way, user can just add one line to a file that would previously be .icpp and another line to header or anywhere else to force correct linking. It would be handy, for example in the Skylark case I already mentioned.
Honza
|
|
|
|
|
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: Sun May 12 06:25:01 CEST 2024
Total time taken to generate the page: 0.03947 seconds
|