Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2013 22:34:42 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports@freebsd.org, bugbusters@FreeBSD.org, bugs@freebsd.org,  ports-bugs@freebsd.org
Subject:   audio/libsidplay v 1.36.59 ISSUE 'bin' is not a member of 'std::ios
Message-ID:  <CACGq7x3JKReJ72L9TCEef=yis1vQ3nb0fLUpGtqP-iCZ-5sr8w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
freebsd-9.0-RELEASE-p5-i386
gcc 4.6.3:
...
libtool: compile:  g++46 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.59\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DSIZEOF_CHAR=1 -DSIZEOF_SHORT_INT=2 -DSIZEOF_INT=4
-DSIZEOF_LONG_INT=4 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1
-DHAVE_DLFCN_H=1 -I. -I. -I.. -O2 -pipe -march=pentium4
-mtune=pentium4 -Wno-error -w -O2 -pipe -march=pentium4
-mtune=pentium4 -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing
-O2 -pipe -march=pentium4 -mtune=pentium4 -Wno-error -w
-Wl,-rpath=/usr/local/lib/gcc46 -MT sidtune.lo -MD -MP -MF
.deps/sidtune.Tpo -c sidtune.cpp  -fPIC -DPIC -o .libs/sidtune.o
sidtune.cpp: In member function 'udword sidTune::loadFile(const char*,
ubyte**)':
sidtune.cpp:310:35: error: 'bin' is not a member of 'std::ios {aka
std::basic_ios<char>}'
sidtune.cpp: In member function 'bool sidTune::saveC64dataFile(const
char*, bool)':
sidtune.cpp:976:45: error: 'bin' is not a member of 'std::ios {aka
std::basic_ios<char>}'
sidtune.cpp: In member function 'bool sidTune::savePSIDfile(const char*, bool)':
sidtune.cpp:1065:45: error: 'bin' is not a member of 'std::ios {aka
std::basic_ios<char>}'
*** Error code 1

Stop in /usr/ports/audio/libsidplay/work/libsidplay-1.36.59/src.
*** Error code 1

Stop in /usr/ports/audio/libsidplay/work/libsidplay-1.36.59.
*** Error code 1

Stop in /usr/ports/audio/libsidplay.

gcc 4.2 works fine.

It might be good idea to set USE_GCC=4.2+ directly in its Makefile?..
Or make it 4.6+ - compatible?
Whichever the easiest... ;7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x3JKReJ72L9TCEef=yis1vQ3nb0fLUpGtqP-iCZ-5sr8w>