|
why, and I ask in all professional seriousness, would you want an application using a variety of compilers and linkers and hoping Microsoft got it right?
Sounds like a recipe for a) suicide b) grief c) project failure d) infinite income (I'm a contractor).
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Hmmmm,
charlieg wrote: would you want an application using a variety of compilers and linkers Due to how C++ dependencies work... (and Windows SDK incompatibilites/changes) most project maintainers use the same compiler version for patching and bug fixing for older projects. If the software you are maintaining is 10 years old... then it's probably running on older hardware and operating systems.
|
|
|
|
|
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall" x64
in a command script does it for me (or x86 if you want 32 bit).
I can then run the compiler (cl) from the command prompt. I have tried to use VSCode extensions and projects but never managed to get it to work.
|
|
|
|
|
Yes I know how to do that.
That is not the problem.
The problem is that that kills workflow. I can no longer click on my project folder and go "Open with VS Code" because Microsoft stinks.
If microsoft didn't stink (like that will ever happen) they would run vcvars from inside VS Code when you're using the C++ extension
Real programmers use butterflies
|
|
|
|
|
You're not the only person to feel that pain...
As it happens, I use MSVC with VS Code for most of my development. Intellisense works fine, and I build from the integrated terminal. This relies on a batch script I wrote years ago that would call the appropriate Visual Studio setup script before either dropping back to the CMD prompt or jumping into a bash shell (used to be msys2 bash, now I use WSL bash). The way I've configured it, VSCode uses the script to set its integrated terminal up for MSVC2017/x86.
Here's the Visual Studio 2015 part of that script's code (my script supports MSVC 2003, 2008, 2010, 2013, 2015, 2017 and 2019 - fortunately, 2013 is the oldest one I use at all now!):
if not exist "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" (
call :not_installed "Visual Studio 2015"
exit /b 1
)
rem %~1 is either x86 or amd64
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" %~1
goto :eof
Yes, hard-coded paths suck, but ¯\_(ツ)_/¯
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I like the way that tweet described the batch file.
Also, thanks!
Real programmers use butterflies
|
|
|
|
|
Hi Stuart,
Regarding your tweet/twat...
The Windows 10 SDK[^] is a standalone development environment. Just mount the ISO and start developing.
Best Wishes,
-David Delaune
|
|
|
|
|
honey the codewitch wrote: Tell me: Why in the world would *anyone* think it was a good idea to install MSVC++, not put it in the PATH, and then make it near impossible for you to do it yourself? Why? Mostly due to the same as always...
Somewhere in the process a manager comes with totally bizarre requirement and additionally ordering a magenta icon opening the pandora box. Then all technicians have to interrupt what they are doing and a time later when coming back to the developing process with 5 different "what was I doing?" ending a time later in some critical "oops, I forgot XX". Then it continues with "damn it... without XX I can't YY... I will need to workaround it with ZZ" and having to ship the release version with an unfinished chaotic version...
Is not that obvious?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The character I'm having a problem with is the double quote. I tried using [\"] but that didn't seem to work.
I'm trying to get a certain size and thickness zip bag (7" wide x 5" deep x 4 mil thick), something I was able to get a few years ago, but now that I've run out of the 25 that I had gotten, I'm looking to get more.
|
|
|
|
|
Use "feet" or inches or whatever fancy unit " is supposed to stand for.
This is what happens when one does not want to use proper units.
*sits back and grabs popcorn*
|
|
|
|
|
Ah. You aren't a imperial measurements fan than?
Quote: In metric, one milliliter of water occupies one cubic centimeter, weighs one gram, and requires one calorie of energy to heat up by one degree centigrade—which is 1 percent of the difference between its freezing point and its boiling point. An amount of hydrogen weighing the same amount has exactly one mole of atoms in it. Whereas in the American system, the answer to "How much energy does it take to boil a room-temperature gallon of water?" is "Go %^$# yourself" because you can't directly relate any of those quantities.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I once overhead a conversation from someone stating that the metric system is awful, citing as an example that if you wanted a piece of wood 12ft (4yd) x 1 1/2in x 2in (a common size) you would have to ask for 3.6576m x 38.1mm x 50.8mm.
quote: Whereas in the American system, the answer to "How much energy does it take to boil a room-temperature gallon of water?" The answer is 'not the same as an imperial gallon'
Did you know that Americans only have approx. 6 pints of blood, whereas Britons have approx. 8 pints of blood? (Due to the difference size of their unit of 'pint')
|
|
|
|
|
jsc42 wrote: Did you know that Americans only have approx. 6 pints of blood, whereas Britons have approx. 8 pints of blood? (Due to the difference size of their unit of 'pint')
US pints are smaller than Imperial pints - 473ml vs 568ml respectively - so I'd expect that to be the other way round.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Don't be so nitpicky...
he is just applying the commutative property (wrong or not is another topic)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
jsc42 wrote: The answer is 'not the same as an imperial gallon' What did you expect?
They don't even speak the same english...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
jsc42 wrote: Did you know that Americans only have approx. 6 pints of blood, whereas Britons have approx. 8 pints of blood? (Due to the difference size of their unit of 'pint')
The other two pints are coffee.
|
|
|
|
|
I am trying my best to find a way to become offended by all that but failing. Perhaps you should start with the cubit. We tried to convert to the metric system some time back but failed, starting with the standard 19" rack.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
That metribigotry - you disappoint me.
Think, for a moment, about those who read languages such as Chinese. It actually stimulates the brain functions.
So it is with us in the US: we've resisted your comparatively-no-brainer system for one that stimulates our intellect and maintains a romance long missing from the dry solemn environment of Europe, and, at the same time, not only maintains more easily divisible subunits (without going to fractions in day-to-day usage) but even, as I've pointed out several times, maintains a base-two relationship as one progress upwards from the ounce.
Bah! So far as I'm concerned, you've only done half a BREXIT.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Everything I've ever seen about Google searches says the same thing: Google ignores punctuation completely, except for quotes, colon, plus, and minus - and they have special meaning and can't be escaped. And I think that Bong does the same, which makes sense when you think about it.
Unless one of the other engines (the ones that actually search for themselves, that is) does, you aren't going to find it easy.
Have you considered going back to your last supplier?, or checking FleaBay?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Have you just tried - Zip Bag 7x5x4 - ?
I did and got a lot of results with inches (even being located in Germany)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Skip the ".
I doubt anyone anyone makes a 7mm x 5mm or a 7' x 5' ziploc bag.
|
|
|
|
|
GenJerDan wrote: I doubt anyone anyone makes a ... 7' x 5' ziploc bag.
You'll find them in the "Serial Killer Equipment" section of Amazon (US only).
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't know what is scarier...
that they offer them or that you knew about it
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Well ... you know how it is with those really awkward customers ... :InnocentWhistleSmiley:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OK, I found what I was looking for, although it was a bit expensive.
|
|
|
|