[LAD] {OT} kind of some obscure c++-error

From: Julien Claassen <julien@email-addr-hidden-lab.de>
Date: Sun Jul 15 2007 - 01:18:30 EEST

Hi everyone!
  This is not directly linux-audio, but still, I think here are some
programmers, who know c++ quite well, bettern than me at least.
  I wrote some code, I can provide it if necessary and when I compiled it, I
finally got this error(s), which I don't understand:
In file included from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/ios:47,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/istream:44,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/fstream:44,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/ext/stdio_filebuf.h:39,
                 from rm_midish_rl.cpp:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/localefwd.h
:90:35: error: macro "isxdigit" passed 2 arguments, but takes just 1
In file included from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/bits/basic_ios.h:44,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/ios:50,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/istream:44,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/fstream:44,
                 from
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/
4.1.2/ext/stdio_filebuf.h:39,
                 from rm_midish_rl.cpp:13:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_face
ts.h:4550:45: error: macro "isxdigit" passed 2 arguments, but takes just 1
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/localefwd.h
:90: error: 'std::isxdigit' declared as an 'inline' variable
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/localefwd.h
:90: error: template declaration of 'bool std::isxdigit'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_face
  I use g++-4.1.2 on debian etch stable. My code incorporates the following
system-headers:
iostream, fstream, string, vector, cstdio, cstdlib, cctype, csignal, unistd.h,
ext/stdio_filebuf.h, errno.h and the readline headers.
  I'm not sure wether this is helpful info, but I can't imagine, where this
comes from, I don't expect, that the system-libraries are that buggy. :-)
  Can anyone help me?
  Kindest regards
        Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Sun Jul 15 04:15:02 2007

This archive was generated by hypermail 2.1.8 : Sun Jul 15 2007 - 04:15:02 EEST