#1732 VS.NET doesn't recognise -GD option

obsolete: 8.3.3
closed-fixed
2
2002-01-11
2002-01-10
Dana Robinson
No

When building tcl 8.3.3 with Visual Studio.NET BETA 2
on Windows 2000 SP2, I saw that the -GD flag was not
recognized. Is it supposed to be -Gd (_cdecl calling
convention)?

tcl built fine without it, so this probably isn't very
hight priority. I also realize that .NET is beta
software, but I thought you might like to know about
this before it comes out in Feb.

Cheers,

DER

From makefile.vc

#######################################################
###############
# Compile flags
#######################################################
###############

!IF "$(NODEBUG)" == "1"
# This cranks the optimization level to maximize speed
cdebug = -O2 -Gs -GD
!ELSE IF "$(MACHINE)" == "IA64"
cdebug = -Od -Zi
!ELSE
cdebug = -Z7 -Od -WX
!ENDIF

Discussion

  • Dana Robinson
    Dana Robinson
    2002-01-10

    • priority: 5 --> 2
     
  • Mo DeJong
    Mo DeJong
    2002-01-11

    • assigned_to: mdejong --> davygrvy
     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=7549

    That's a D4002 error, which is harmless. It means your
    version of cl.exe doesn't do that option.

    /GD happens to be for future use and is supposed to
    optimize for a windows DLL. I guess the future is a shaky
    thing in the eyes of MS developers.

    I decided to remove it. Change applied to CVS HEAD.