HFF-Git / VCPU-32

This is a vintage design CPU with 32-bits. See the document in the VCPU-32-Documentation folder for a more detailed description.
GNU General Public License v3.0
0 stars 0 forks source link

Compiler Error Visual Studio Windows #2

Closed wesch closed 5 months ago

wesch commented 5 months ago

In VCPU32-Driver.hpp line 622: static const uint MAX_FILE_NAME_SIZE = 256

creates compiler error C3646 unknown override specifier

HFF-Git commented 5 months ago

Probier bitte mal das "static" wegzulassen...

wesch commented 5 months ago

Hilft leider nichts. Habe jetzt einfach char fileName[ 256 ]; gesetzt. Es gibt noch einen anderen Fehler (war schon gestern) : VCPU32-Mem.cpop Zeile 661: funktion random() existiert nicht geändert auf

if ( reqTargetSet >= cDesc.blockSets ) reqTargetSet = rand( ) % cDesc.blockSets;