> On 2012-01-12 06:05:33, Andreas Hansson wrote: > > src/dev/copy_engine.cc, line 48 > > <http://reviews.m5sim.org/r/986/diff/2/?file=20774#file20774line48> > > > > Why does the std cause a problem with the packet->set? Packet does not > > inherit from any STL container class. I don't get why there is any > > potential overloading. > > Koan-Sin Tan wrote: > this kind of ambiguity has nothing to do with inheritance as far as I can > tell
Obviously clang thinks there is more than one "set" member function on a Packet, and I do not really see why the STL container set (which I thought was the one causing the problem) could be part of the picture. In short, why is there any ambiguity if a packet only has one set member function? - Andreas ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/986/#review1929 ----------------------------------------------------------- On 2012-01-12 23:36:49, Koan-Sin Tan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.m5sim.org/r/986/ > ----------------------------------------------------------- > > (Updated 2012-01-12 23:36:49) > > > Review request for Default. > > > Summary > ------- > > Initial patch to make gem5 compile with clang/llvm. Tested on Mac OS X 10.7.2 > + clang/llvm from Xcode 4.2 > > > Diffs > ----- > > SConstruct UNKNOWN > src/SConscript UNKNOWN > src/arch/alpha/tlb.cc UNKNOWN > src/arch/arm/insts/static_inst.hh UNKNOWN > src/arch/arm/insts/vfp.hh UNKNOWN > src/arch/arm/isa/templates/basic.isa UNKNOWN > src/arch/generic/memhelpers.hh UNKNOWN > src/arch/mips/faults.hh UNKNOWN > src/arch/mips/faults.cc UNKNOWN > src/arch/x86/bios/intelmp.cc UNKNOWN > src/base/fast_alloc.cc UNKNOWN > src/base/range_map.hh UNKNOWN > src/base/stl_helpers.hh UNKNOWN > src/cpu/o3/decode_impl.hh UNKNOWN > src/cpu/o3/iew.hh UNKNOWN > src/cpu/o3/inst_queue.hh UNKNOWN > src/cpu/o3/inst_queue_impl.hh UNKNOWN > src/cpu/o3/mem_dep_unit.cc UNKNOWN > src/cpu/o3/sat_counter.hh UNKNOWN > src/dev/alpha/tsunami_cchip.cc UNKNOWN > src/dev/alpha/tsunami_io.cc UNKNOWN > src/dev/arm/pl111.hh UNKNOWN > src/dev/arm/pl111.cc UNKNOWN > src/dev/copy_engine.cc UNKNOWN > src/dev/ide_ctrl.cc UNKNOWN > src/dev/ns_gige.cc UNKNOWN > src/dev/pciconfigall.cc UNKNOWN > src/dev/pcidev.cc UNKNOWN > src/mem/cache/base.hh UNKNOWN > src/sim/process_impl.hh UNKNOWN > src/sim/syscall_emul.hh UNKNOWN > > Diff: http://reviews.m5sim.org/r/986/diff > > > Testing > ------- > > > Thanks, > > Koan-Sin > > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
