#1 Compile error with Explorer application

closed
5
2003-07-07
2001-12-03
Edwin
No

While compiling the explorer I get the following error:

OXExplorer.cc: In method `void OXExplorer::SaveIniFile()':
OXExplorer.cc:579: passing `const char *' as argument 2 of `OIniFile::PutItem(const char *,
char *)' discards qualifiers

(also for the 3 following lines)

This line is:
rcfile.PutItem("DisplayFullPath", DispFullPath ? "True" : "False");

As the code is logical, the definition of the method should be changed to take the second
argument as a "const" as well.

(just checking out the bugs feature :-)

Discussion

  • Luis Hector Peraza Gonzalez

    • assigned_to: nobody --> hperaza
    • status: open --> closed
     
  • Luis Hector Peraza Gonzalez

    • labels: --> xclass applications
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks