Advertise on Bikeforums.net



User Tag List

Results 1 to 9 of 9
  1. #1
    Senior Member MrCrassic's Avatar
    Join Date
    Jun 2007
    Location
    Brooklyn, NY
    My Bikes
    2008 Giant OCR1 (with panda bear on the back!)
    Posts
    3,648
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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?

    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

  2. #2
    Super Moderator no1mad's Avatar
    Join Date
    Apr 2008
    Location
    NE OK
    My Bikes
    '06 Kona Smoke
    Posts
    7,826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Think of as an opportunity to build character.
    Quote Originally Posted by Cyril View Post
    Ride what and in what manner pleases you. Those that mind don't matter, and those that matter don't mind. srsly.
    Community guidelines

  3. #3
    Senior Member
    Join Date
    Sep 2008
    Location
    Just this side of insanity.
    My Bikes
    Too many
    Posts
    574
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  4. #4
    The Site Administrator: Currently at home recovering from a couple of strokes,please contact my assistnt admins for forum issues Tom Stormcrowe's Avatar
    Join Date
    Mar 2006
    Location
    South Florida
    My Bikes
    Techna Wheelchair and a Sun EZ 3 Recumbent Trike
    Posts
    16,015
    Mentioned
    10 Post(s)
    Tagged
    4 Thread(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?
    on light duty due to illness; please contact my assistants for forum issues. They are Siu Blue Wind, or CbadRider or the other 3 star folk. I am currently at home recovering from a couple of strokes. I am making good progress, happily.


    . “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

  5. #5
    Senior Member DannoXYZ's Avatar
    Join Date
    Jul 2005
    Location
    Saratoga, CA
    Posts
    11,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  6. #6
    On my TARDIScycle! KingTermite's Avatar
    Join Date
    Jun 2005
    Location
    Eastside Seattlite Termite Mound
    My Bikes
    Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE
    Posts
    3,928
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, but you have to admit, the debugger is a LOT better than Gdb!

    edit: Meant Gdb, not Gcc.
    Last edited by KingTermite; 12-08-09 at 08:59 AM.
    Quote Originally Posted by coffeecake View Post
    - it's pretty well established that Hitler was an *******.

  7. #7
    Chepooka StupidlyBrave's Avatar
    Join Date
    Sep 2006
    Location
    South Central PA
    My Bikes
    1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed
    Posts
    1,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

  8. #8
    On my TARDIScycle! KingTermite's Avatar
    Join Date
    Jun 2005
    Location
    Eastside Seattlite Termite Mound
    My Bikes
    Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE
    Posts
    3,928
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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 *******.

  9. #9
    Chepooka StupidlyBrave's Avatar
    Join Date
    Sep 2006
    Location
    South Central PA
    My Bikes
    1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed
    Posts
    1,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •