1

Error occurred when I compile c++ source code

view story
linux-howto

https://bbs.archlinux.org – Hi,I'm trying to build a simulation program coded in C++ language.But I got error that compiler cannot find cassert.This is error message from build tool scons. [     CXX] X86/kern/linux/printk.cc -> .oIn file included from build/X86/kern/linux/printk.cc:38:0:build/X86/sim/arguments.hh: In instantiation of 'Arguments::operator T*() [with T = const char]':build/X86/kern/linux/printk.cc:172:51:   required from herebuild/X86/sim/arguments.hh:140:9: error: 'CopyData' was not declared in this scopeIn file included from build/X86/arch/isa_traits.h (HowTos)