delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/30/16:42:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41D4764F.1040303@familiehaase.de>
Date: Thu, 30 Dec 2004 22:42:39 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Talk Amongst Yourselves <cygwin-talk AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: gcc-3.3.3 :fpclassify
References: <1104440185 DOT 41d46b7970546 AT imap-serv DOT inrialpes DOT fr>
In-Reply-To: <1104440185.41d46b7970546@imap-serv.inrialpes.fr>
X-IsSubscribed: yes

Wrong list, please use the main cygwin list for such postings.

Jianguo DOT Zhang AT inrialpes DOT fr wrote:
[...]
> $ g++ test.cpp
> 
> the following errors occurs:
> 
> test.cpp: In function `int main()':
> test.cpp:17: error: `fpclassify' undeclared in namespace `std'
> test.cpp:18: error: `fpclassify' undeclared in namespace `std'
> test.cpp:19: error: `fpclassify' undeclared in namespace `std'
> 
> there is no problem to compile the file under linux system using g++ 3.3.1
> 
> Could anyone tell me why?

No, sorry.

Try gcc-3.4.1:
$ g++ -o fpclassify fpclassify.C

$ ./fpclassify
program ends


To install gcc-3.4.1 trigger the radio button in setup.exe so
you can install test/experimental packages.


Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019