On Monday 24 November 2014 19:21:16 Darshit Shah wrote: > The argstring in a normal program execution isn't a constant but is > constructed dynamically from the command line options. > > The way the argstring is constructed, this var cannot be a const.
Sorry Darshit, I didn't have your patch in mind. Just this morning I pushed a (trivial) patch to make both program_name and program_argstring const. I agree with Giuseppe, they should be const. The more const we use, the better we can detect programming faults right from the beginning. Tim
