Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Can't compile trunk 1383

2 posters

Go down  Message [Page 1 of 1]

1Can't compile trunk 1383 Empty Can't compile trunk 1383 Sat Oct 29, 2022 7:24 am

leonidv



Hi!

I try to compile latest trunk and get error:
Code:

leonidv@lvlinux /o/s/simulide> bzr revno
1383

Code:

../src/microsim/cores/z80/z80core.cpp:1608:54: error: redefinition of default argument for ‘bool changeAllFlags’
 1608 | template< Z80Core::eMathOp op, bool changeAllFlags = true >
      |                                                      ^~~~
In file included from ../src/microsim/cores/z80/z80core.cpp:2:
../src/microsim/cores/z80/z80core.h:216:53: note: original definition appeared here
  216 |         template< eMathOp op, bool changeAllFlags = true >
      |                                                     ^~~~
../src/microsim/cores/z80/z80core.cpp:1701:50: error: redefinition of default argument for ‘bool changeSZP’
 1701 | template< Z80Core::eShiftOp op, bool changeSZP = true >
      |                                                  ^~~~
../src/microsim/cores/z80/z80core.h:223:49: note: original definition appeared here
  223 |         template< eShiftOp op, bool changeSZP = true >
      |                                                 ^~~~
make: *** [Makefile:8498: build/objects/z80core.o] Error 1\

2Can't compile trunk 1383 Empty Re: Can't compile trunk 1383 Sat Oct 29, 2022 12:34 pm

arcachofo

arcachofo

Hi.

Remove "= true" in  these lines:
../src/microsim/cores/z80/z80core.cpp: line 1608 :
From:
Code:
template< eMathOp op, bool changeAllFlags = true >
to:
Code:
template< eMathOp op, bool changeAllFlags >

Same for ../src/microsim/cores/z80/z80core.cpp line 1701.

3Can't compile trunk 1383 Empty Re: Can't compile trunk 1383 Sun Oct 30, 2022 8:14 am

leonidv



Thanks, that works.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum