Number: 2010
Title: Libgraph function signatures use char* instead of const char*
Submitter: Steve Dodier-Lazaro
Date: Tue Aug 3 04:21:00 2010
Subsys: Lib(c)graph
Version: 2.20.2
System: *-*-
Severity: minor
Problem:
Hello,

I'm opening this bug because I noticed libgraph is using char* pretty much everywhere in it's function signatures, even when const char* (static strings) are expected.

This is completely transparent in C, but with a modern C++ compiler, it triggers compilation warnings about const char* being given to the functions instead of char* if using static strings.

Since the functions seem to expect static strings and do not seem to modify them, I think they should use const char* instead.

Cordially, SD.
Owner: *
Status: *