🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #329

Does mwcc work on Tiger?

#329
From: Stefan Haller
Date: Mon, 30 May 2005 19:31
30 lines
1239 bytes
Anybody using the comand line compilers on 10.4?

When saving the following simple program as /tmp/x.cpp:

  int main()
  {
    double x = 0.5;
    return 0;
  }

and trying to compile it with

$ mwcc -c /tmp/x.cpp

, I get the error message

   Error : invalid floating-point constant
/tmp/x.cpp line 3         double x = 0.5; 

Needless to say, it compiles fine on 10.3.

I'm using CW 9.5, mwcc is version 3.2.6 build 437.

Any ideas?


-- 
Stefan Haller
Berlin, Germany
http://home.snafu.de/stk/
Technical Details
Message-ID: <1gxe8gf.mskt5113plybmN%stk@snafu.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,c558504823d2d9a5,start
X-Google-Thread: 10bcce,c558504823d2d9a5,start
X-Google-Attributes: gidf635e,gid10bcce,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: stk@snafu.de (Stefan Haller)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Does mwcc work on Tiger?
Date: Mon, 30 May 2005 21:31:46 +0200
Organization: none
Lines: 30
Message-ID: <1gxe8gf.mskt5113plybmN%stk@snafu.de>
X-Trace: news.uni-berlin.de t3P8bDjJieDTtNXCkWLFXgQXGmqcVCtkSCmjIlSWLTenXn
X-Orig-Path: stk
Mail-Copies-To: never
User-Agent: MacSOUP/2.7 (Mac OS X version 10.3.9)