VS 2005

J

Just D.

What's the current situation with VS 2005? I've heard about prerelease and
even downloaded something. What about release, how soon we can expect it?

Just D.
 
J

Jon Skeet [C# MVP]

Just D. said:
What's the current situation with VS 2005? I've heard about prerelease and
even downloaded something. What about release, how soon we can expect it?

Talk is of the near the end of H1 2005.
 
B

Bret Pehrson

Richard Blewett said:
PDC 2005 is in Sept next year so I imagine it will be by then or at that conference

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk



Talk is of the near the end of H1 2005.

Dude, the writing is on the wall for this one. If it is taking this long, w/
this much uncertainty, the VS.05 release is going to be another VS.02 abortion,
full of problems/bugs/1st rev issues. Wait for VS.06+ for a 'stable' release.

As it is, VS.02 was an alpha, VS.03 is a beta; back to alpha w/ VS.05...
 
R

Ronald Laeremans [MSFT]

Hi Bret,

What are you basing this comment on? Have you used Beta 1 of VS 2005 and
found it lacking. If so, I would be very interested in talking to you about
what parts you found problematic. If you want to do that you can email me
contact info and I'll get back to you (my email is the expected
transformation from my posting alias).

Thanks!

Ronald Laeremans
Visual C++ team
 
J

Just D.

Hi Ronald,

I'm sure you know this URL: http://lab.msdn.microsoft.com/vs2005/

This is the current situation on 12/10/2004 11:11 AM (-7).

15119 people have contributed.
904 total active bugs.
5342 total bugs.
545 total active suggestions.
3537 total suggestions.

Thanks,
Just D.
 
R

Ronald Laeremans [MSFT]

Yes, I am aware of this. Can you elaborate on what conclusions you are
drawing from this data?

Thanks.

Ronald
 
B

Bret Pehrson

Ronald Laeremans said:
Hi Bret,

What are you basing this comment on? Have you used Beta 1 of VS 2005 and
found it lacking. If so, I would be very interested in talking to you about
what parts you found problematic. If you want to do that you can email me
contact info and I'll get back to you (my email is the expected
transformation from my posting alias).

All of my VS.05 comments are a priori. I haven't looked at the product, nor
plan on it until after it is released, just basing it on my many years of using
MS products.

I'd be mildly surprised if VS.05 is a stable release -- good luck.

Don't take my comments as attacking or vindictive -- I have a _lot_ of
frustration w/ MS products, especially the MSVC line. Every version is buggier
and slower than the previous, and backward compatibility for user
settings/customizations/etc. is nonexistent.

If you want my suggestions, they are simple:

- service packs, fix/address the bugginess/problems for the current products
that I've already invested in. $2k for VS.03 and no sp/updates/fixes = bad
policy

- backward compatibility to user configuration/settings
 
J

Just D.

Just two words - it's too wet.

Just D.

Ronald Laeremans said:
Yes, I am aware of this. Can you elaborate on what conclusions you are
drawing from this data?

Thanks.

Ronald
 
J

Jon Skeet [C# MVP]

Just D. said:
Just two words - it's too wet.

Because it has active bugs? I suspect you'll find that every product
which has an open bug database has lots of active bugs. Eclipse, a very
stable and mature IDE in my view, has *loads* of open bugs. Some may
turn out not to really be bugs, some may be duplicates, some may not be
terribly urgent.

In short, I don't think you can logically draw any conclusions from the
numbers you posted.

No-one here will be forcing you to use VS.NET 2005 though, of course -
feel free not to get the productivity enhancements, language and
framework features, etc...
 
B

Bret Pehrson

Jon Skeet said:
No-one here will be forcing you to use VS.NET 2005 though, of course -
feel free not to get the productivity enhancements, language and
framework features, etc...

100% wrong. Are you telling me that there is no external/internal force that
drives & commands us to use the latest development environment from MS??? I
hope not...

If we weren't _compelled_ to use their product, there would actually be a
competitive presence in the marketplace, just like there used to be in the day
days of Borland.

There is _NO_ competition to MSVC -- why do you think they release when they
want, scheduled be damned, no updates/patches/fixes/service packs, no customer
support, etc. We are the victims of Microsoft's success.
 
J

Jon Skeet [C# MVP]

Bret Pehrson said:
100% wrong. Are you telling me that there is no external/internal
force that drives & commands us to use the latest development
environment from MS??? I hope not...

I said "no-one here" very carefully - no-one on this newsgroup is going
to tell you you *have* to use VS.NET 2005. Your boss may do, of course,
but none of us will.
If we weren't _compelled_ to use their product, there would actually be a
competitive presence in the marketplace, just like there used to be in the day
days of Borland.

There is _NO_ competition to MSVC -- why do you think they release when they
want, scheduled be damned, no updates/patches/fixes/service packs, no customer
support, etc. We are the victims of Microsoft's success.

Well, there are other IDEs - there are other C# IDEs, other IDEs which
build IL from other languages (eg Delphi) and of course there are other
IDEs for other languages and platforms entirely.

I suspect the reason there aren't many other major Windows-specific
C/C++ IDEs is that MS are always going to have the upper hand with
things like MSDN. I suspect it's not terribly easy to interface to MSDN
without a good deal of help. With .NET it should be more feasible to
link to .NET documentation, although I haven't investigated how well
documented the standard library is in straight XML etc.
 
H

Hendrik Schober

Bret Pehrson said:
[...]
Don't take my comments as attacking or vindictive -- I have a _lot_ of
frustration w/ MS products, especially the MSVC line. Every version is buggier
and slower than the previous, and backward compatibility for user
settings/customizations/etc. is nonexistent.

Ha, or me it's the opposite:
The compiler got a lot better (with VC7.1,
that is). OTOH I regret that MS is paying so
much attention to the guys that are to lazy
(or to dumb even) to add a few switches to
compile their old code base at the expense
of making the compiler default to compiling
wrong code and barking at right code. (I
have to turn on /Zc:wchar_t, /Zc:forScope,
/GR for each and every project I create.)
If you want my suggestions, they are simple:

- service packs, fix/address the bugginess/problems for the current products
that I've already invested in. $2k for VS.03 and no sp/updates/fixes = bad
policy

Here I agree.

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
 
B

Bret Pehrson

Hendrik said:
Bret Pehrson said:
[...]
Don't take my comments as attacking or vindictive -- I have a _lot_ of
frustration w/ MS products, especially the MSVC line. Every version is buggier
and slower than the previous, and backward compatibility for user
settings/customizations/etc. is nonexistent.

Ha, or me it's the opposite:
The compiler got a lot better (with VC7.1,
that is). OTOH I regret that MS is paying so
much attention to the guys that are to lazy
(or to dumb even) to add a few switches to
compile their old code base at the expense
of making the compiler default to compiling
wrong code and barking at right code. (I
have to turn on /Zc:wchar_t, /Zc:forScope,
/GR for each and every project I create.)

The compiler is definitely more _conformant_ to the standard, but I think that
it is pretty much in unanimous agreement that it is slower.
If you want my suggestions, they are simple:

- service packs, fix/address the bugginess/problems for the current products
that I've already invested in. $2k for VS.03 and no sp/updates/fixes = bad
policy

Here I agree.

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
 
H

Hendrik Schober

Bret Pehrson said:
[...]
The compiler is definitely more _conformant_ to the standard, but I think that
it is pretty much in unanimous agreement that it is slower.

I rather hvae it this way, than the
other way around.

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
 
G

Guest

HS- [Mon, 20 Dec 2004 15:32:52 +0100]:
I have to turn on /Zc:wchar_t, /Zc:forScope,
/GR for each and every project I create.)

No reason to, if you can wiz a wizard. I don't think
this "HS" is you (you wouldn't have written the above
if it were). In other words, you change the defaults
to your defaults, such as

CLtool.TreatWChar_tAsBuiltInType = 1; // 0=false, 1=true (/Zc:wchar_t)
CLtool.ForceConformanceInForLoopScope = 1; // 0=false, 1=true (/Zc:forScope)

/\/\/\/\/\/\
\/\/\/\/\/\/

HS [Mon, 16 Jun 2003 09:22:02 +0200]:
way to change the default project settings for new projects?

Make a swank wiz script that does what you want. For example,

vc7/vcwizards/357/scripts/1033/default.js

(apparently not enough for the guy since he came back for more)

/\/\/\/\/\/\

Date: Tue Jun 17 03:39:46 2003
From: (e-mail address removed) ()
Newsgroups: microsoft.public.dotnet.languages.vc
Subject: Re: VC++ .NET 2003 Macros broken?
Organization: [40th Floor]

HS [Tue, 17 Jun 2003 09:40:39 +0200]:
LOL! I knew that much...

O. M. This is the tedious part. The rest of the wiz you can
do without boring yourself. It may not look like much but I
was cursing all the way through it. That much I remember.

Truncated at column 79 (default.js).

/* me 1-Mar-2002 */

var bCopyOnly = false;

function OnFinish(selProj, selObj) {

try {

var strProjectPath = wizard.FindSymbol("PROJECT_PATH");
var strProjectName = wizard.FindSymbol("PROJECT_NAME");

var bEmptyProject = wizard.FindSymbol("EMPTY_PROJECT");

selProj = CreateProject(strProjectName, strProjectPath);

AddCommonConfig(selProj, strProjectName);
AddSpecificConfig(selProj, strProjectName, bEmptyProject);

/* this isn't in 2003
SetFilters(selProj);
*/
SetupFilters(selProj);

/*
*if (!bEmptyProject) {
* var InfFile = CreateInfFile();
* AddFilesToProject(selProj, strProjectName, InfFile);
* SetCommonPchSettings(selProj);
* InfFile.Delete();
* selProj.Object.Save();
*}
*/
}
catch(e) {

if (e.description.length != 0)
SetErrorInfo(e);
return e.number
}
}


function AddSpecificConfig(proj, strProjectName, bEmptyProject) {

/* debug ----------------------------------------------- */

var config = proj.Object.Configurations("Debug|Win32");

// DBG General :::::::::::::::::::::::::::::::::::::::::::

config.OutputDirectory = "debug";
config.IntermediateDirectory = "debug";
// use setup defaults: config.DeleteExtensionsOnClean = ...

// DBG Project Defaults ::::::::::::::::::::::::::::::::::

config.ConfigurationType = 1; // 0=unk, 1=exe, 2=dll, 4=lib, 10=generic
config.BuildBrowserInformation = 0; // 0=false, 1=true
config.useOfMfc = 0; // 0=win32, 1=static, 2=dynamic
config.useOfAtl = 0; // 0=not set, 1=static, 2=dynamic
config.ATLMinimizesCRunTimeLibraryUsage = 0; // 0=false, 1=true (useOfAtl must
config.CharacterSet = charSetMBCS; // 0=not set, 1=unicode, 2=mbcs
config.ManagedExtensions = 0; // 0=false, 1=true
config.WholeProgramOptimization =0; // 0=false, 1=true (use this instead of CL

// DBG Action Defaults ::::::::::::::::::::::::::::::::::
// command, cmd args, working dir, attach, symbol path, all are fine

// DBG Debuggers Defaults :::::::::::::::::::::::::::::::
// debugger type, sql debugging, all are fine

// DBG Remote Settings Defaults :::::::::::::::::::::::::
// connection, remote machine, remote command, http url, all are fine


// DBG C++ COMPILER ::::::::::::::::::::::::::::::::::::::

var CLtool = config.Tools("VCCLCompilerTool");

// DBG C++ GENERAL :::::::::::::::::::::::::::::::::::::::

CLtool.AdditionalIncludeDirectories = "/prj/my_inc;";
//CLtool.AdditionalUsingDirectories
CLtool.DebugInformationFormat = 4; // 0=none, 1=oldstyle, 2=line#s, 3=
CLtool.CompileAsManaged = 0; // 0=no, 2=managedAssembly
CLtool.SuppressStartupBanner = 1; // 0=no, 1=yes
CLtool.WarningLevel = 3; // 0 to 4
CLtool.Detect64BitPortabilityProblems = 1; // 0=false, 1=true
CLtool.WarnAsError = 0; // 0=false, 1=true

// DBG C++ OPTIMIZATION ::::::::::::::::::::::::::::::::::

CLtool.Optimization = 0; // 0=disabled, 1=minspace, 2=maxspe
CLtool.GlobalOptimizations = 0; // 0=false, 1=true (/Og)
CLtool.InlineFunctionExpansion = 0; // 0=disable, 1=inline only, 2=any
CLtool.EnableIntrinsicFunctions = 0; // 0=false, 1=true (/Oi)
CLtool.ImproveFloatingPointConsistency =0; // 0=default consistancy, 1=yes (/O
CLtool.FavorSizeOrSpeed = 0; // 0=neither, 1=speed, 2=size (/Ot
CLtool.OmitFramePointers = 0; // 0=false, 1=true (/Oy)
CLtool.EnableFiberSafeOptimizations = 0; // 0=false, 1=true (/GT)
CLtool.OptimizeForProcessor = 2; // 0=blend, 1=P5, 2=PPro+ (/G5 /G6)
CLtool.OptimizeForWindowsApplication = 0; // 0=false, 1=true (/GA) -- do NOT

// DBG C++ PRE-PROCESSOR :::::::::::::::::::::::::::::::::

CLtool.PreprocessorDefinitions = "WIN32;_DEBUG;_MBCS";
CLtool.IgnoreStandardIncludePath = 0; // 0=false, 1=true (/X)
CLtool.GeneratePreprocessedFile = 0; // 0=no, 1=yes, 2=no linenumbers (/
CLtool.KeepComments = 0; // 0=false, 1=true (/C)

// DBG C++ CODE GENERATION :::::::::::::::::::::::::::::::

CLtool.StringPooling = 0; // 0=false, 1=true (/GF)
CLtool.MinimalRebuild = 1; // 0=false, 1=true (/Gm)
CLtool.ExceptionHandling = 0; // 0=false, 1=true (/EHsc)
CLtool.SmallerTypeCheck = 0; // 0=false, 1=true (/RTCc)
CLtool.BasicRuntimeChecks = 3; // 0=check none, 1=check stack fram
CLtool.RuntimeLibrary = 3; // 0=MT, 1=MTd, 2=MTD (DLL), 3=MTDd
CLtool.StructMemberAlignment = 0; // 0=not set(default?), 1=1, 2=2, 3
CLtool.BufferSecurityCheck = 0; // 0=false, 1=true (/GS)
CLtool.EnableFunctionLevelLinking = 1; // 0=false, 1=true (/Gy)

// DBG C++ LANGUAGE ::::::::::::::::::::::::::::::::::::::

CLtool.DisableLanguageExtensions = 0; // 0=false, 1=true (/Za)
CLtool.DefaultCharIsUnsigned = 1; // 0=false, 1=true (/J)
CLtool.TreatWChar_tAsBuiltInType = 1; // 0=false, 1=true (/Zc:wchar_t)
CLtool.ForceConformanceInForLoopScope = 1; // 0=false, 1=true (/Zc:forScope)
CLtool.RuntimeTypeInfo = 0; // 0=false, 1=true (/GR)

// DBG C++ PRECOMPILED HEADERS :::::::::::::::::::::::::::

CLtool.UsePrecompiledHeader = 2; // 0=none, 1=create using specific,
CLtool.PrecompiledHeaderThrough = "windows.h"
// --- CLtool.PrecompiledHeaderFile =

// DBG C++ OUTPUT FILES ::::::::::::::::::::::::::::::::::

CLtool.ExpandAttributedSource = 0; // 0=false, 1=true (/Fx)
CLtool.AssemblerOutput = 0; // 0=no listing, 1=asm(/FA), 2=asm+
// --- CLtool.AssemblerListingLocation=... // (/FAname)
// --- CLtool.ObjectFile = ... // (/Foname)
// --- CLtool.ProgramDataBaseFileName =... // (/Fdname)

// DBG C++ BROWSE INFO :::::::::::::::::::::::::::::::::::

CLtool.BrowseInformation = 0; // 0=none, 1=all info, 2=no local s
// --- CLtool.BrowseInformationFile = ... // (Frname FRname)

// DBG C++ ADVANCED ::::::::::::::::::::::::::::::::::::::

CLtool.CallingConvention = 2; // 0=cdecl(/Gd), 1=fastcall(/Gr), 2
CLtool.CompileAs = 0; // 0=default, 1=C (/TC), 2=CPP (/TP
// --- CLtool.DisableSpecificWarnings =... // string of warning numbers to dis
// --- CLtool.ForcedIncludeFiles =... // string of include files to force
// --- CLtool.ForcedUsingFiles =... // string of using files to force (
CLtool.ShowIncludes = 0; // 0=false, 1=true (/showIncludes)
// --- CLtool.UndefinePreprocessorDefinitions=... // string of defs to undefin
CLtool.UndefineAllPreprocessorDefinitions = 0; // 0=false, 1=true (/u)

// DBG C++ COMMAND LINE ::::::::::::::::::::::::::::::::::

// --- CLtool.AdditionalOptions = "/testoption";
// --- CLtool.WholeProgramOptimization =...// use config.WholeProgramOptimizat
// --- CLtool.CompileOnly = ... // 0=false, 1=true (/c)


// DBG LINKER ::::::::::::::::::::::::::::::::::::::::::::

var LinkTool = config.Tools("VCLinkerTool");

LinkTool.ProgramDatabaseFile = "$(outdir)/" + strProjectName + ".pdb";
LinkTool.GenerateDebugInformation = true;
LinkTool.LinkIncremental = linkIncrementalYes;
/*LinkTool.SubSystem = subSystemConsole;*/


// DBG LINKER GENERAL ::::::::::::::::::::::::::::::::::::

LinkTool.OutputFile = "$(outdir)/" + strProjectName + ".exe";
LinkTool.ShowProgress = 0; // 0=not set, 1=all, 2=libs only
LinkTool.Version = "1.0"; // version string
LinkTool.LinkIncremental = 0; // 0=default, 1=no, 2=yes
LinkTool.SuppressStartupBanner = 1; // 0=false, 1=true
LinkTool.IgnoreImportLibrary = 0; // 0=false, 1=true
LinkTool.RegisterOutput = 0; // 0=false, 1=true
LinkTool.AdditionalLibraryDirectories = "/prj/my_lib;";

// DBG LINKER INPUT ::::::::::::::::::::::::::::::::::::::

//--- LinkTool.AdditionalDependencies = ...// string to more items to add, suc
LinkTool.IgnoreAllDefaultLibraries = 0; // 0=false, 1=true
// --- LinkTool.IgnoreDefaultLibraryNames = ... // string of names to ignore
// --- LinkTool.ModuleDefinitionFile = ... // sting to path of DLL .def
// --- LinkTool.AddModuleNamesToAssembly = ... //
// --- LinkTool.LinkToManagedResourceFile = ... //
// --- LinkTool.ForceSymbolReferences = ...// force this symbol
// --- LinkTool.DelayLoadDLLs = ... // list of DLLs to delay-load

// DBG LINKER DEBUG ::::::::::::::::::::::::::::::::::::::

LinkTool.GenerateDebugInformation = 1; // 0=false, 1=true
// --- LinkTool.ProgramDatabaseFile = ... // PDB name
// --- LinkTool.StripPrivateSymbols = ... // PDB name for PDB sans private sy
LinkTool.GenerateMapFile = 1; // 0=false, 1=true
// --- LinkTool.MapFileName = ... // mapname if other than default
LinkTool.MapExports = 1; // mapfile to have exports (0=not t
LinkTool.MapLines = 1; // mapfile to have line#s (0=not to

// DBG LINKER SYSTEM :::::::::::::::::::::::::::::::::::::

LinkTool.SubSystem = 2; // 0=not set, 1=console, 2=windows
// --- LinkTool.HeapReserveSize
// --- LinkTool.HeapCommitSize
// --- LinkTool.StackReserveSize
// --- LinkTool.StackCommitSize
LinkTool.LargeAddressAware = 1; // 0=default, 1=not awware of large
LinkTool.TerminalServerAware = 1; // 0=default, 1=no is not TS aware,
LinkTool.SwapRunFromCD = 0; // 0=no, 1=yes
LinkTool.SwapRunFromNet = 0; // 0=no, 1=yes

// DBG LINKER OPTIMIZATIONS ::::::::::::::::::::::::::::::

LinkTool.OptimizeReferences = 0; // 0=default, 1=/opt:noref (keeps u
LinkTool.EnableCOMDATFolding = 0; // 0=default, 1=nofold (/opt:noicf)
LinkTool.OptimizeForWindows98 = 1; // 0=default, 1=no, 2=yes
// --- LinkTool.FunctionOrder = ... // pathname of text file having ord

// DBG LINKER MIDL COMMANDS ::::::::::::::::::::::::::::::

// --- LinkTool.MidlCommandFile
// --- LinkTool.IgnoreEmbeddedIDL
// --- LinkTool.MergedIDLBaseFileName
// --- LinkTool.TypeLibraryFile
// --- LinkTool.TypeLibraryResourceID

// DBG LINKER ADVANCED :::::::::::::::::::::::::::::::::::

// --- LinkTool.EntryPointSymbol
LinkTool.ResourceOnlyDLL = 0; // 0=false, 1=true
LinkTool.SetChecksum = 1; // 0=false, 1=true
// --- LinkTool.BaseAddress = ... // string of addresss, such as "0x4
// --- LinkTool.TurnOffAssemblyGeneration // CLR/.NET stuff
LinkTool.SupportUnloadOfDelayLoadedDLL =0; // 0=false, 1=true
// --- LinkTool.ImportLibrary = ... // string of import library name to
// --- LinkTool.MergeSections = ... // strings of section names to merg
LinkTool.TargetMachine = 1; // 0=not set, 1=x86

// DBG LINKER COMMAND LINE :::::::::::::::::::::::::::::::

//LinkTool.AdditionalOptions = ...
// --- LinkTool.LinkDLL = ... use config.ConfigurationType =2
// --- LinkTool.LinkTimeCodeGeneration = ... use config.WholeProgramOptimizat


/* release ----------------------------------------------- */
/* release ----------------------------------------------- */
/* release ----------------------------------------------- */
/* release ----------------------------------------------- */

config = proj.Object.Configurations.Item("Release|Win32");

// REL General :::::::::::::::::::::::::::::::::::::::::::

config.OutputDirectory = "release";
config.IntermediateDirectory = "release";
// use setup defaults: config.DeleteExtensionsOnClean = ...

// REL Project Defaults ::::::::::::::::::::::::::::::::::

config.ConfigurationType = 1; // 0=unk, 1=exe, 2=dll, 4=lib, 10=generic
config.BuildBrowserInformation = 0; // 0=false, 1=true
config.useOfMfc = 0; // 0=win32, 1=static, 2=dynamic
config.useOfAtl = 0; // 0=not set, 1=static, 2=dynamic
config.ATLMinimizesCRunTimeLibraryUsage = 0; // 0=false, 1=true (useOfAtl must
config.CharacterSet = charSetMBCS; // 0=not set, 1=unicode, 2=mbcs
config.ManagedExtensions = 0; // 0=false, 1=true
config.WholeProgramOptimization =0; // 0=false, 1=true (use this instead of CL

// REL Action Defaults ::::::::::::::::::::::::::::::::::
// command, cmd args, working dir, attach, symbol path, all are fine

// REL Debuggers Defaults :::::::::::::::::::::::::::::::
// debugger type, sql debugging, all are fine

// REL Remote Settings Defaults :::::::::::::::::::::::::
// connection, remote machine, remote command, http url, all are fine

// REL C++ COMPILER ::::::::::::::::::::::::::::::::::::::

var CLtool = config.Tools("VCCLCompilerTool");

// REL C++ GENERAL :::::::::::::::::::::::::::::::::::::::

CLtool.AdditionalIncludeDirectories = "/prj/my_inc;";
//CLtool.AdditionalUsingDirectories
CLtool.DebugInformationFormat = 0; // 0=none, 1=oldstyle, 2=line#s, 3=
CLtool.CompileAsManaged = 0; // 0=no, 2=managedAssembly
CLtool.SuppressStartupBanner = 1; // 0=no, 1=yes
CLtool.WarningLevel = 3; // 0 to 4
CLtool.Detect64BitPortabilityProblems = 1; // 0=false, 1=true
CLtool.WarnAsError = 0; // 0=false, 1=true

// REL C++ OPTIMIZATION ::::::::::::::::::::::::::::::::::

CLtool.Optimization = 3; // 0=disabled, 1=minspace, 2=maxspe
CLtool.GlobalOptimizations = 1; // 0=false, 1=true (/Og)
CLtool.InlineFunctionExpansion = 1; // 0=disable, 1=inline only, 2=any
CLtool.EnableIntrinsicFunctions = 1; // 0=false, 1=true (/Oi)
CLtool.ImproveFloatingPointConsistency =0; // 0=default consistancy, 1=yes (/O
CLtool.FavorSizeOrSpeed = 1; // 0=neither, 1=speed, 2=size (/Ot
CLtool.OmitFramePointers = 1; // 0=false, 1=true (/Oy)
CLtool.EnableFiberSafeOptimizations = 0; // 0=false, 1=true (/GT)
CLtool.OptimizeForProcessor = 2; // 0=blend, 1=P5, 2=PPro+ (/G5 /G6)
CLtool.OptimizeForWindowsApplication = 0; // 0=false, 1=true (/GA) -- do NOT

// REL C++ PRE-PROCESSOR :::::::::::::::::::::::::::::::::

CLtool.PreprocessorDefinitions = "WIN32;NDEBUG;_MBCS";
CLtool.IgnoreStandardIncludePath = 0; // 0=false, 1=true (/X)
CLtool.GeneratePreprocessedFile = 0; // 0=no, 1=yes, 2=no linenumbers (/
CLtool.KeepComments = 0; // 0=false, 1=true (/C)

// REL C++ CODE GENERATION :::::::::::::::::::::::::::::::

CLtool.StringPooling = 1; // 0=false, 1=true (/GF)
CLtool.MinimalRebuild = 0; // 0=false, 1=true (/Gm)
CLtool.ExceptionHandling = 0; // 0=false, 1=true (/EHsc)
CLtool.SmallerTypeCheck = 0; // 0=false, 1=true (/RTCc)
CLtool.BasicRuntimeChecks = 0; // 0=check none, 1=check stack fram
CLtool.RuntimeLibrary = 2; // 0=MT, 1=MTd, 2=MTD (DLL), 3=MTDd
CLtool.StructMemberAlignment = 0; // 0=not set(default?), 1=1, 2=2, 3
CLtool.BufferSecurityCheck = 0; // 0=false, 1=true (/GS)
CLtool.EnableFunctionLevelLinking = 1; // 0=false, 1=true (/Gy)

// REL C++ LANGUAGE ::::::::::::::::::::::::::::::::::::::

CLtool.DisableLanguageExtensions = 0; // 0=false, 1=true (/Za)
CLtool.DefaultCharIsUnsigned = 1; // 0=false, 1=true (/J)
CLtool.TreatWChar_tAsBuiltInType = 1; // 0=false, 1=true (/Zc:wchar_t)
CLtool.ForceConformanceInForLoopScope = 1; // 0=false, 1=true (/Zc:forScope)
CLtool.RuntimeTypeInfo = 0; // 0=false, 1=true (/GR)

// REL C++ PRECOMPILED HEADERS :::::::::::::::::::::::::::

CLtool.UsePrecompiledHeader = 2; // 0=none, 1=create using specific,
CLtool.PrecompiledHeaderThrough = "windows.h"
// --- CLtool.PrecompiledHeaderFile =

// REL C++ OUTPUT FILES ::::::::::::::::::::::::::::::::::

CLtool.ExpandAttributedSource = 0; // 0=false, 1=true (/Fx)
CLtool.AssemblerOutput = 0; // 0=no listing, 1=asm(/FA), 2=asm+
// --- CLtool.AssemblerListingLocation=... // (/FAname)
// --- CLtool.ObjectFile = ... // (/Foname)
// --- CLtool.ProgramDataBaseFileName =... // (/Fdname)

// REL C++ BROWSE INFO :::::::::::::::::::::::::::::::::::

CLtool.BrowseInformation = 0; // 0=none, 1=all info, 2=no local s
// --- CLtool.BrowseInformationFile = ... // (Frname FRname)

// REL C++ ADVANCED ::::::::::::::::::::::::::::::::::::::

CLtool.CallingConvention = 2; // 0=cdecl(/Gd), 1=fastcall(/Gr), 2
CLtool.CompileAs = 0; // 0=default, 1=C (/TC), 2=CPP (/TP
// --- CLtool.DisableSpecificWarnings =... // string of warning numbers to dis
// --- CLtool.ForcedIncludeFiles =... // string of include files to force
// --- CLtool.ForcedUsingFiles =... // string of using files to force (
CLtool.ShowIncludes = 0; // 0=false, 1=true (/showIncludes)
// --- CLtool.UndefinePreprocessorDefinitions=... // string of defs to undefin
CLtool.UndefineAllPreprocessorDefinitions = 0; // 0=false, 1=true (/u)

// REL C++ COMMAND LINE ::::::::::::::::::::::::::::::::::

// --- CLtool.AdditionalOptions = "/testoption";
// --- CLtool.WholeProgramOptimization =...// use config.WholeProgramOptimizat
// --- CLtool.CompileOnly = ... // 0=false, 1=true (/c)


// REL LINKER ::::::::::::::::::::::::::::::::::::::::::::

var LinkTool = config.Tools("VCLinkerTool");

// REL LINKER GENERAL ::::::::::::::::::::::::::::::::::::

LinkTool.OutputFile = "$(outdir)/" + strProjectName + ".exe";
LinkTool.ShowProgress = 0; // 0=not set, 1=all, 2=libs only
LinkTool.Version = "1.0"; // version string
LinkTool.LinkIncremental = 1; // 0=default, 1=no, 2=yes
LinkTool.SuppressStartupBanner = 1; // 0=false, 1=true
LinkTool.IgnoreImportLibrary = 0; // 0=false, 1=true
LinkTool.RegisterOutput = 0; // 0=false, 1=true
LinkTool.AdditionalLibraryDirectories = "/prj/my_lib;";

// REL LINKER INPUT ::::::::::::::::::::::::::::::::::::::

//--- LinkTool.AdditionalDependencies = ...// string to more items to add, suc
LinkTool.IgnoreAllDefaultLibraries = 0; // 0=false, 1=true
// --- LinkTool.IgnoreDefaultLibraryNames = ... // string of names to ignore
// --- LinkTool.ModuleDefinitionFile = ... // sting to path of DLL .def
// --- LinkTool.AddModuleNamesToAssembly = ... //
// --- LinkTool.LinkToManagedResourceFile = ... //
// --- LinkTool.ForceSymbolReferences = ...// force this symbol
// --- LinkTool.DelayLoadDLLs = ... // list of DLLs to delay-load

// REL LINKER DEBUG ::::::::::::::::::::::::::::::::::::::

LinkTool.GenerateDebugInformation = 0; // 0=false, 1=true
// --- LinkTool.ProgramDatabaseFile = ... // PDB name
// --- LinkTool.StripPrivateSymbols = ... // PDB name for PDB sans private sy
LinkTool.GenerateMapFile = 1; // 0=false, 1=true
// --- LinkTool.MapFileName = ... // mapname if other than default
LinkTool.MapExports = 1; // mapfile to have exports (0=not t
LinkTool.MapLines = 1; // mapfile to have line#s (0=not to

// REL LINKER SYSTEM :::::::::::::::::::::::::::::::::::::

LinkTool.SubSystem = 2; // 0=not set, 1=console, 2=windows
// --- LinkTool.HeapReserveSize
// --- LinkTool.HeapCommitSize
// --- LinkTool.StackReserveSize
// --- LinkTool.StackCommitSize
LinkTool.LargeAddressAware = 1; // 0=default, 1=not awware of large
LinkTool.TerminalServerAware = 1; // 0=default, 1=no is not TS aware,
LinkTool.SwapRunFromCD = 0; // 0=no, 1=yes
LinkTool.SwapRunFromNet = 0; // 0=no, 1=yes

// REL LINKER OPTIMIZATIONS ::::::::::::::::::::::::::::::

LinkTool.OptimizeReferences = 0; // 0=default, 1=/opt:noref (keeps u
LinkTool.EnableCOMDATFolding = 0; // 0=default, 1=nofold (/opt:noicf)
LinkTool.OptimizeForWindows98 = 1; // 0=default, 1=no, 2=yes
// --- LinkTool.FunctionOrder = ... // pathname of text file having ord

// REL LINKER MIDL COMMANDS ::::::::::::::::::::::::::::::

// --- LinkTool.MidlCommandFile
// --- LinkTool.IgnoreEmbeddedIDL
// --- LinkTool.MergedIDLBaseFileName
// --- LinkTool.TypeLibraryFile
// --- LinkTool.TypeLibraryResourceID

// REL LINKER ADVANCED :::::::::::::::::::::::::::::::::::

// --- LinkTool.EntryPointSymbol
LinkTool.ResourceOnlyDLL = 0; // 0=false, 1=true
LinkTool.SetChecksum = 1; // 0=false, 1=true
// --- LinkTool.BaseAddress = ... // string of addresss, such as "0x4
// --- LinkTool.TurnOffAssemblyGeneration // CLR/.NET stuff
LinkTool.SupportUnloadOfDelayLoadedDLL =0; // 0=false, 1=true
// --- LinkTool.ImportLibrary = ... // string of import library name to
// --- LinkTool.MergeSections = ... // strings of section names to merg
LinkTool.TargetMachine = 1; // 0=not set, 1=x86

// REL LINKER COMMAND LINE :::::::::::::::::::::::::::::::

//LinkTool.AdditionalOptions = ...
// --- LinkTool.LinkDLL = ... use config.ConfigurationType =2
// --- LinkTool.LinkTimeCodeGeneration = ... use config.WholeProgramOptimizat

}

function SetFileProperties(projfile, strName) {
return false;
}

function DoOpenFile(strTarget) {
return false;
}

/*
function GetTargetName(strName, strProjectName, strResourcePath) {
var strTarget = strName;
if (strName == "readme.txt")
strTarget = "ReadMe.txt";
if (strName == "resource.h")
strTarget = "Resource.h";
if (strName == "small.ico") {
strTarget = "small.ico";
bCopyOnly = true;
}
if (strName.substr(0, 4) == "root") {
var strlen = strName.length;
if (strName == "root.ico")
bCopyOnly = true;
strTarget = strProjectName + strName.substr(4, strlen - 4);
}
return strTarget;
}
*/

Works fine for me but I've only used this one a few projects in 2003.
New configurations (I never use "Release" and "Debug") are still a bitch
-- the props panel sti!! closes on me all too often. I'd rather walk
a tightrope.

/\/\/\/\/\/\
\/\/\/\/\/\/

So it was, way back then.
 
G

Guest

moi [Tue, 21 Dec 2004 03:49:29 -0800]:
HS- [Mon, 20 Dec 2004 15:32:52 +0100]:
I have to turn on /Zc:wchar_t, /Zc:forScope,
/GR for each and every project I create.)

No reason to, if you can wiz a wizard. I don't think
this "HS" is you (you wouldn't have written the above
if it were).

OK, the other HS is you (I had your message-id and found this).
Even the same newsgroup. No excuse, buddy, no excuse.
From: "Hendrik Schober" <[email protected]>
Subject: Re: VC++ .NET 2003 Macros broken?
Date: Tue, 17 Jun 2003 09:40:39 +0200
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.languages.vc


LOL! I knew that much...

I remember that! Funny, in a weird sort of way.
 
H

Hendrik Schober

[...]
OK, the other HS is you [...]


It is me. I know you can make your own
wizards. But that's not the point. The
point is, that this still is the default.
So whoever doesn't look at all these
options and tweaks them, will get code
to compile without even a warning that
shouldn't compile on a C++ compiler for
ten years now.
We're told it's this way because there's
so much non-conformaing code out there.
But I consider this a stupid argument,
as this way we end up with even more of
such code!
I'd rather be compatible (by default!)
with the future than with the past. (And
that's especially true when the past is
gone as long as e.g. the old 'for' scope
behaviour is.)

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
 
G

Guest

HS- [Tue, 21 Dec 2004 13:25:28 +0100]:
wizards. But that's not the point. The
point is, that this still is the default.

Defaults -- they never please anyone except the guy
that put them there. You do what you have to do --
me, every project I start has my defaults already
because I got tired of fixing those stupid defaults!
(aha) It's an easy fix once you know about it. More
would if docs came on paper, you know, like when the
documentation used to come as a half-a-shelf of books,
and not 18 jillion pages of souped-up html. hah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top