Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-01-12
03:01 • Closed ticket [501565ffff]: VS.NET doesn't recognise -GD option plus 7 o... artifact: dac83404c9 user: davygrvy
2002-01-11
23:41 • Ticket [501565ffff]: 1 change artifact: de9583925f user: mdejong
2002-01-10
07:20 • Ticket [501565ffff]: 1 change artifact: c904579648 user: derobins
00:18 • New ticket [501565ffff]. artifact: 3ce9f7a582 user: derobins

VS.NET doesn't recognise -GD option

Closed / Fixed501565ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-10 00:18:11
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
derobins Ticket [501565ffff]: 1 change [History diff]2002-01-10 07:20:07
mdejong Ticket [501565ffff]: 1 change [History diff]2002-01-11 23:41:36
davygrvyplain2002-01-12 03:01:15
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.
Log in (anonymous is fine) to add a comment.