stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Zhong" <>
Subject unable to use boolalpha stream manipulator in sourcepro ed9
Date Mon, 02 Oct 2006 19:51:59 GMT
cat t.cpp && gcc  -D_RWCONFIG=12d -I../../include
-I./../../../../include -I./../../../../include/ansi t.cpp

#include <iostream>

using namespace std;


int main () {

  bool b;


  cout << boolalpha << b << endl;

  cout << noboolalpha << b << endl;

  return 0;


t.cpp: In function `int main()':

t.cpp:7: `boolalpha' undeclared (first use this function)

t.cpp:7: (Each undeclared identifier is reported only once for each
function it 

   appears in.)

t.cpp:8: `noboolalpha' undeclared (first use this function)


problem first appeared when using sourcepro ed6 and also appears true
for ed9.


Yu (Scott) Zhong

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message