What steps will reproduce the problem?
1. On Ubuntu 14.04 64-bits take source code from
https://code.google.com/p/cpcsdk/source/checkout
2. Go to iDSK/src
3. run build_config.sh, then configure then make
What is the expected output? What do you see instead?
Expected compile success. Seen compile errors.
Main.cpp: In function ‘int main(int, char**)’:
Main.cpp:76:31: error: invalid conversion from ‘std::ios_base&
(*)(std::ios_base&)’ to ‘std::ios& (*)(std::ios&) {aka
std::basic_ios<char>& (*)(std::basic_ios<char>&)}’ [-fpermissive]
>> std::hex >> Option( 'e', "exec", exeAdress )
^
In file included from Main.cpp:9:0:
getopt_pp.h:430:42: error: initializing argument 1 of ‘GetOpt::GetOpt_pp&
GetOpt::GetOpt_pp::operator>>(std::ios& (*)(std::ios&))’ [-fpermissive]
GETOPT_INLINE GetOpt_pp &operator >> ( std::ios & ( *iomanip )( std::ios & ) );
^
Main.cpp:78:31: error: invalid conversion from ‘std::ios_base&
(*)(std::ios_base&)’ to ‘std::ios& (*)(std::ios&) {aka
std::basic_ios<char>& (*)(std::basic_ios<char>&)}’ [-fpermissive]
>> std::dec >> Option( 't', "type", AmsdosType )
^
In file included from Main.cpp:9:0:
getopt_pp.h:430:42: error: initializing argument 1 of ‘GetOpt::GetOpt_pp&
GetOpt::GetOpt_pp::operator>>(std::ios& (*)(std::ios&))’ [-fpermissive]
GETOPT_INLINE GetOpt_pp &operator >> ( std::ios & ( *iomanip )( std::ios & ) );
What version of the product are you using? On what operating system?
iSK 0.15 on Ubuntu 14.04 64-bits.
Please provide any additional information below.
Seen your cleanup in source compared with v0.13 .
Original issue reported on code.google.com by stephane...@gmail.com on 27 Dec 2014 at 11:00
Original issue reported on code.google.com by
stephane...@gmail.com
on 27 Dec 2014 at 11:00