Cycling and bicycle discussion forums. 
   Click here to join our community Log in to access your Control Panel  


Go Back   > >

Foo Off-Topic chit chat with no general subject.

User Tag List

Reply
 
Thread Tools Search this Thread
Old 12-06-09, 05:47 PM   #1
MrCrassic 
Senior Member
Thread Starter
 
MrCrassic's Avatar
 
Join Date: Jun 2007
Location: Brooklyn, NY
Bikes: 2008 Giant OCR1 (with panda bear on the back!)
Posts: 3,650
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
[GEEK] I hate Visual Studio (for C).

Why?

Code:
error C2275: 'u_int' : illegal use of this type as an expression
100+ errors on code that compiles PERFECTLY FINE in UNIX...

Why?

Quote:
Microsoft do not support C99 and haven't announced any plans to. I believe they intend to track C++ standards but consider C as effectively obsolete except as a subset of C++.
New projects in Visual Studio 2003 and later have the "Compile as C++ Code (/TP)" option set by default, so any .c files will be compiled as C++.
__________________
Ride more.

Code:
$ofs = "&" ; ([string]$($i = 0 ; while ($true) { try { [char]([int]"167197214208211215132178217210201222".substring($i,3) - 100) ; $i =
 $i+3 > catch { break >>)).replace('&','') ; $ofs=" " # Replace right angles with right curly braces
MrCrassic is offline   Reply With Quote
Old 12-06-09, 06:03 PM   #2
no1mad
Thunder Whisperer
 
no1mad's Avatar
 
Join Date: Apr 2008
Location: NE OK
Bikes: '06 Kona Smoke
Posts: 8,662
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 49 Post(s)
Think of as an opportunity to build character.
__________________
Community guidelines
no1mad is offline   Reply With Quote
Old 12-07-09, 07:49 PM   #3
challaday
Senior Member
 
Join Date: Sep 2008
Location: Just this side of insanity.
Bikes: Too many
Posts: 574
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
There you go again... assuming M$FT cares about standards. Well they care, but only if they're setting them. Why don't you just compile with GNU (gcc) on the windows box? You can't beat the price.
challaday is offline   Reply With Quote
Old 12-07-09, 09:22 PM   #4
Tom Stormcrowe
Out fishing with Annie on his lap, a cigar in one hand and a ginger ale in the other, watching the sunset.
 
Tom Stormcrowe's Avatar
 
Join Date: Mar 2006
Location: South Florida
Bikes: Techna Wheelchair and a Sun EZ 3 Recumbent Trike
Posts: 16,120
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Because it's not Unix?

Quote:
Originally Posted by MrCrassic View Post
Why?

Code:
error C2275: 'u_int' : illegal use of this type as an expression
100+ errors on code that compiles PERFECTLY FINE in UNIX...

Why?
__________________
. “He who fights with monsters might take care lest he thereby become a monster. And if you gaze for long into an abyss, the abyss gazes also into you.”- Fredrick Nietzsche

"We can judge the heart of a man by his treatment of animals." - Immanuel Kant
Tom Stormcrowe is offline   Reply With Quote
Old 12-08-09, 02:25 AM   #5
DannoXYZ 
Senior Member
 
DannoXYZ's Avatar
 
Join Date: Jul 2005
Location: Saratoga, CA
Bikes:
Posts: 11,600
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Get Metrowerks Codewarrior. After using it, you'll never ever touch that M$FT crap again! Heck, even freeware CYGWIN will compile it better than Visual Studio.
DannoXYZ is offline   Reply With Quote
Old 12-08-09, 09:52 AM   #6
KingTermite 
On my TARDIScycle!
 
KingTermite's Avatar
 
Join Date: Jun 2005
Location: Eastside Seattlite Termite Mound
Bikes: Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE
Posts: 3,924
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Yeah, but you have to admit, the debugger is a LOT better than Gdb!

edit: Meant Gdb, not Gcc.
__________________
Quote:
Originally Posted by coffeecake View Post
- it's pretty well established that Hitler was an *******.

Last edited by KingTermite; 12-08-09 at 09:59 AM.
KingTermite is offline   Reply With Quote
Old 12-08-09, 09:58 AM   #7
StupidlyBrave 
Chepooka
 
StupidlyBrave's Avatar
 
Join Date: Sep 2006
Location: South Central PA
Bikes: 1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed
Posts: 1,167
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Quote:
Originally Posted by KingTermite View Post
Yeah, but you have to admit, the debugger is a LOT better than Gcc!
At doing what? gcc is a compiler.
StupidlyBrave is offline   Reply With Quote
Old 12-08-09, 09:59 AM   #8
KingTermite 
On my TARDIScycle!
 
KingTermite's Avatar
 
Join Date: Jun 2005
Location: Eastside Seattlite Termite Mound
Bikes: Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE
Posts: 3,924
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Ooops...I meant Gdb ( and you knew it )!
Quote:
Originally Posted by StupidlyBrave View Post
At doing what? gcc is a compiler.
__________________
Quote:
Originally Posted by coffeecake View Post
- it's pretty well established that Hitler was an *******.
KingTermite is offline   Reply With Quote
Old 12-09-09, 07:15 PM   #9
StupidlyBrave 
Chepooka
 
StupidlyBrave's Avatar
 
Join Date: Sep 2006
Location: South Central PA
Bikes: 1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed
Posts: 1,167
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Quote:
Originally Posted by KingTermite View Post
Ooops...I meant Gdb ( and you knew it )!
I wasn't sure what the wink emoticon was for.

My experience is the opposite. When I was doing primarily C, the optimal environment for me was Xemacs, gcc, gdb, make and rcs toolset. At the time, it was coding on either SunOS or Solaris and porting to Ultrix, IRIX and/or HP/UX. Win32 porting came later and it was very painful at first. I never did 16 bit windows programming.
StupidlyBrave is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 12:18 AM.