OSSP CVS Repository |
![]() |
|
compiler says "warning: assignment discards qualifiers from pointer target type" when I use gcc -std=c99. Following is a small workaround--- ex.h.orig 2004-03-13 17:56:55.000000000 +0800 +++ ex.h 2004-03-13 18:03:55.000000000 +0800 @@ -86,9 +86,9 @@ void *ex_object; void *ex_value; /* throw point */ - char *ex_file; + const char *ex_file; int ex_line; - char *ex_func; + const char *ex_func; } ex_t; /* declare the context type (private) */
|
Type: code Version: 1.0.2 Status: fixed Created: 2004-Mar-13 11:07 Severity: 4 Last Change: 2004-Mar-18 16:51 Priority: 4 Subsystem: ex Assigned To: rse Derived From: Creator: anonymous