| Anonymous | Login | Signup for a new account | 2010-09-08 17:36 PDT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0000035 | [AckFUSS] code | minor | sometimes | 2010-02-10 23:35 | 2010-02-13 17:00 | ||
| Reporter | Kline | View Status | public | ||||
| Assigned To | Kline | ||||||
| Priority | normal | Resolution | fixed | ||||
| Status | closed | Product Version | 4.4.1 | ||||
| Summary | 0000035: strstr, strchr returning const on some distros | ||||||
| Description |
Fedora Core 12 x64 reporting the following errors. Had to have the user const_cast<char *>() the results of strstr and strchr to work around this. build.c: In function void build_setroom(CHAR_DATA, char build.c:2171: error: invalid conversion from const char to char build.c: In function void build_dig(CHAR_DATA, char: build.c:3080: error: invalid conversion from const char to char build.c: In function void build_addreset(CHAR_DATA, char): build.c:3741: error: invalid conversion from const char to char build.c: In function int get_dir(char): build.c:5448: error: invalid conversion from const char to char strfuns.c: In function char* strip_out(const char*, const char*): strfuns.c:1029: error: invalid conversion from const char* to char* strfuns.c:1029: error: invalid conversion from const char* to char* strfuns.c: In function char* strip_color(const char*, const char*): strfuns.c:1053: error: invalid conversion from const char* to char* strfuns.c:1053: error: invalid conversion from const char* to char* |
||||||
| Additional Information | Currently I test build against Debian (testing) x86, x86_64, and Ubuntu (stable). Unable to reproduce in those distros. Marked 'sometimes' due to only certain distros displaying this behavior. | ||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
|
|
|||||||
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |