----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/1874/#review4346 -----------------------------------------------------------
Think how GCC or any other compiler would solve such a problem. - Nilay Vaish On May 18, 2013, 1:53 p.m., Malek Musleh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/1874/ > ----------------------------------------------------------- > > (Updated May 18, 2013, 1:53 p.m.) > > > Review request for Default. > > > Description > ------- > > Changeset 9705:fdcb243a7ffd > --------------------------- > ruby: rename wakeUpBuffer Function > > The wakeUpAllBuffers() routine is defined and overloaded in the > AbstractController class. However, wanting to include both versions: > wakeUpAllBuffers() and wakeUpAllBuffers(Address a) in a slicc protocol file > results in a compilation error: > Exception: MOESI_CMP_directory-L1cache.sm:284: Error: Symbol > 'wakeUpAllBuffers' redeclared in same scope.: > > Not sure how else to expose overloaded functions to the slicc files. > > Testing: > > > Diffs > ----- > > src/mem/ruby/slicc_interface/AbstractController.hh > 00dca8a9b5606900410248f998d28d36e4faf75b > src/mem/ruby/slicc_interface/AbstractController.cc > 00dca8a9b5606900410248f998d28d36e4faf75b > > Diff: http://reviews.gem5.org/r/1874/diff/ > > > Testing > ------- > > > Thanks, > > Malek Musleh > > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
