Article View: gnu.g++.lib.bug
Article #72libg++-2.0 iostream
From: VENKATESH
Date: Mon, 13 Apr 1992 23:24
Date: Mon, 13 Apr 1992 23:24
20 lines
1241 bytes
1241 bytes
I successfully installed gcc-2.1 for m88k-motorola-sysv3 configuration.
The changes I had to make were minor. I had to include -D_POSIX_SOURCE
option. I also installed libg++ using gcc-2.1.
I have problem in installing iostream. The compiler error is as follows:
gcc -I. -I./../g++-include -DUSG -D_POSIX_SOURCE -c iostream.C
iostream.C: In function `class streambuf::istream& operator >> (class streambuf::istream&, double &)':
iostream.C:298: conversion to non-scalar type requested
I have similar error at line 306 and in other function.
The source code where the error happens is:
is.rdbuf()->vsacn("%lg", (va_list)&ptr);
The va_list is a typedefed struct in m88k (include file va-m88k.h).
Could someone help me in fixing the problem.
Thanks in advance.
Venkatesh
Technical Details
Message-ID:
<3433@daily-planet.concordia.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!concour.cs.concordia.ca!venkatShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!concour.cs.concordia.ca!venkat From: venkat@concour.cs.concordia.ca (VENKATESH) Subject: libg++-2.0 iostream Message-ID: <3433@daily-planet.concordia.ca> Keywords: libg++-2.0 iostream Sender: gnulists@ai.mit.edu Organization: Concordia University, Montreal, Quebec Distribution: gnu Date: Mon, 13 Apr 1992 23:24:02 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 21