Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#130 closed defect (fixed)

port to std::string

Reported by: bensch Owned by: bensch
Priority: critical Milestone: Old Orxonox tickets orx-v0
Component: GeneralFramework Version:
Keywords: Cc:
Referenced By: References:

Description

Usage of const char* is dangerous

millions of times, we ran into the char deallocation/allocation-debug stuff problems…

At least in the main Classes: port to std::string:

meaning:

  • BaseObject
  • PRINTF()("THIS WOULD BE PAIN);
  • SHELL
  • and much more.

Change History (3)

comment:1 Changed 19 years ago by bensch

  • Owner changed from patrick to bensch

comment:2 Changed 19 years ago by bensch

  • Priority changed from minor to critical
  • Resolution set to fixed
  • Status changed from new to closed

finished all important classes,

only let it in some cases (return value is const char* in all groups) BaseObject must also be ported, but this is minor and very, very big change :)

this change is also a big new step, and thus we advanced to orxonox-0.3.4.

comment:3 Changed 17 years ago by bknecht

  • Milestone changed from Features to Old Orxonox tickets

Milestone Features deleted

Note: See TracTickets for help on using tickets.