[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Problems building Ttf.cpp from kdebase-3.0.1 on Tru64 UNIX 4.0D
From:       Albert Chin <kde-devel () thewrittenword ! com>
Date:       2002-06-17 3:01:01
[Download RAW message or body]

...
cxx -DHAVE_CONFIG_H -I. -I. -I../../..
-I/opt/TWWfsw/libttf20/include/freetype2
-I/opt/TWWfsw/libttf20/include -I/opt/TWWfsw/kde301/include
-I/opt/TWWfsw/libqt30/include -I. -I/opt/TWWfsw/bzip2/include
-I/opt/TWWfsw/jpeg/include -I/opt/TWWfsw/libpng12/include
-I/opt/TWWfsw/libtiff35/include -I/opt/TWWfsw/zlib11/include
-I/opt/TWWfsw/libttf20/include/freetype2 -pthread -DQT_THREAD_SUPPORT
-DNDEBUG -DNO_DEBUG -O2 -std gnu -ieee -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c Ttf.cpp  -DPIC -o .libs/Ttf.o
cxx: Error: Ttf.cpp, line 254: class "ios" has no member "binary"
    fstream ff(nameAndPath.local8Bit(), ios::in|ios::binary);
-----------------------------------------------------^
cxx: Error: Ttf.cpp, line 280: class "ios" has no member "binary"
    fstream ff(nameAndPath.local8Bit(), ios::out|ios::binary);
------------------------------------------------------^
cxx: Info: 2 errors detected in the compilation of "Ttf.cpp".

$ cxx -version
Compaq C++ V6.5-026 for Digital UNIX V4.0D  (Rev. 878)
Compiler Driver V6.5-026 (cxx) cxx Driver

According to
/usr/lib/cmplrs/cxx/V6.5-026/include/cxx/iostream_impl.hxx:
  class ios
  {
  public:
    enum io_state       { goodbit = 0, eofbit = 01, failbit = 02,
                          badbit = 04 };
    enum open_mode      { in = 01, out = 02, ate = 04, app = 010, trunc = 020,
                          nocreate = 040, noreplace = 0100 };
    enum seek_dir       { beg = 0, cur = 01, end = 02 };
    ...

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic