View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002702 | unreal | installing | public | 2005-11-19 19:58 | 2007-04-16 12:32 |
| Reporter | pepolez | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.2.3 | ||||
| Summary | 0002702: '...differ in signedness' while compiling | ||||
| Description | while compiling, i noticed many times that the C interpereter complained about errors such as this: random.c: In function 'init_random': random.c:191: warning: pointer targets in passing argument 2 of 'RAND_query_egd_bytes' differ in signedness while these errors are not fatal and do not stop the compiling or configuring, i figured it'd be best to mention them | ||||
| Steps To Reproduce | -get unreal -unpack unreal -run ./Config as normal these errors will appear similar to the one abobve | ||||
| 3rd party modules | |||||
|
|
Thanks for the report. Though, this has been fixed in CVS already. We now turn these (useless and annoying) warnings automatically off :) |
|
|
it's fixed for most files in the development version avaliable on CVS, but it still bitches about tre-parse.c (and only tre-parse.c now) tre-parse.c: In function 'tre_expand_macro': tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness tre-parse.c:99: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness tre-parse.c: In function 'tre_parse_bracket_items': tre-parse.c:354: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness tre-parse.c: In function 'tre_parse': tre-parse.c:1369: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ../lib/tre-parse.c: In function 'tre_expand_macro': ../lib/tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness ../lib/tre-parse.c:99: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness ../lib/tre-parse.c: In function 'tre_parse_bracket_items': ../lib/tre-parse.c:354: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness ../lib/tre-parse.c: In function 'tre_parse': ../lib/tre-parse.c:1369: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness |
|
|
hm, yeah... We use the unmodified TRE library, so it's their configure that would have to deal with this. I'll see if I can contact the author ;). I don't understand why the GCC folks put this on by default (even without -Wall)... like if a strlen() operation on an unsigned character string is a problem... GOD... *wants to stab the person that turned this on by default* ;) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-11-19 19:58 | pepolez | New Issue | |
| 2005-11-19 20:07 | syzop | Status | new => closed |
| 2005-11-19 20:07 | syzop | Note Added: 0010771 | |
| 2005-11-19 20:07 | syzop | Resolution | open => no change required |
| 2005-11-19 21:35 | pepolez | Status | closed => feedback |
| 2005-11-19 21:35 | pepolez | Resolution | no change required => reopened |
| 2005-11-19 21:35 | pepolez | Note Added: 0010779 | |
| 2005-11-20 09:28 | syzop | Note Added: 0010781 | |
| 2007-04-16 12:32 |
|
Status | feedback => closed |
| 2007-04-16 12:32 |
|
Resolution | reopened => no change required |