Menu

#38 Incorrect CMD/CMR compilation flags

closed-fixed
Bug (61)
5
2004-11-22
2004-10-03
No

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. Shouldn’t 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

Discussion

  • Mario Fortier

    Mario Fortier - 2004-10-03
     
  • Mario Fortier

    Mario Fortier - 2004-10-03
    • summary: Incorrect CDD/CDR/CMD/CMR compilation flags --> Incorrect CDD/CDR compilation flags
     
  • Mario Fortier

    Mario Fortier - 2004-10-03
    • summary: Incorrect CDD/CDR compilation flags --> Incorrect CMD/CMR compilation flags
     
  • Mario Fortier

    Mario Fortier - 2004-10-04

    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

     
  • Mario Fortier

    Mario Fortier - 2004-10-04
    • status: open --> open-fixed
     
  • Mario Fortier

    Mario Fortier - 2004-11-22
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.