Incorrect CMD/CMR compilation flags
Brought to you by:
fortier
Hi Mario,
Good work you are doing with TA-LIB!
I tried to build a program (MSVC++ 6.0) and ended up
with LINK errors LNK2001 and LNK2005.
I have a couple of questions:
Shall CDD be identical with CMD?
Both are compiled with MDd. Shouldnt CMD be compiled
with MTd?
Actually the flags for CDD and CMD are identical (see
attached file).
The same is true if you compare CDR and CMR.
Regards,
anders-ekvall@telia.com
Logged In: YES
user_id=1123
Hi Anders,
Good catches. I have check-in changes and this will be in
release 0.1.2
> Both are compiled with MDd. Shouldn't CMD be
> compiled with MTd?
Yes. Now corrected.
> Shall CDD be identical with CMD?
You are right, these should not be identical. Now corrected
also for CMR.
In short, expected values are:
CMD = /MTd
CMR = /MT
CDD = /MDd
CDR = /MD
Changes:
c\make\gen_make\template\win32-msvc\tmake.conf
c\make\gen_make\make_make.pl
... and Makefile were re-generated
Thanks for the detailed report,
\Mario
Contributed patch, already applied. TA-Lib has moved to GitHub and this SourceForge tracker is retired.
This ticket carried a contributed patch (
kompilator flaggor ta-lib.txt) and was resolved asclosed-fixedon SourceForge in 2004. It is accounted for in the final SourceForge review: https://github.com/TA-Lib/ta-lib/issues/30No further support is provided on SourceForge. Please send patches as pull requests on GitHub instead:
Thank you for the contribution.