[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to fix "warning: pointer targets in passing argument X of 'Y' differ
From: |
Helge Deller |
Subject: |
How to fix "warning: pointer targets in passing argument X of 'Y' differ in signedness" |
Date: |
Mon, 8 May 2006 21:11:52 +0200 |
User-agent: |
KMail/1.9.1 |
When compiling gnokii CVS, gcc prints an awful lot of warning of the type of:
warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
The reason for that is, that by default gnokii seems to compile with the gcc
flags "-g -O2".
What I use instead in Makefile.global for CFLAGS to avoid those warnings is:
CFLAGS = -g -O2 -g -funsigned-char -Wall -Wno-pointer-sign
-fvisibility=hidden
Would anybody be interested to implement the checks for the additional flags to
configure.in ?
Helge
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to fix "warning: pointer targets in passing argument X of 'Y' differ in signedness",
Helge Deller <=