Project

General

Profile

Bug #3674

[build] Немного warning`ов

Added by Alexander Protsenko over 6 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Target version:
Start date:
11/12/2012
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

Пересобирал проект, заметил это:

ts/dfsm.c: In function ‘trace_dfsm_properties’:
ts/dfsm.c:1025:7: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’
ts/dfsm.c:1027:7: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’

ts/ndfsm.c: In function ‘walk_new_arc_NDFSM’:
ts/ndfsm.c:387:3: warning: passing argument 2 of ‘registerNode_NDFSM’ makes pointer from integer without a cast
ts/ndfsm.c:206:13: note: expected ‘Object *’ but argument is of type ‘int’
ts/ndfsm.c: In function ‘walk_old_arc_NDFSM’:
ts/ndfsm.c:422:3: warning: passing argument 2 of ‘registerNode_NDFSM’ makes pointer from integer without a cast
ts/ndfsm.c:206:13: note: expected ‘Object *’ but argument is of type ‘int’
ts/ndfsm.c: In function ‘traceProperties_NDFSM’:
ts/ndfsm.c:445:7: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’
ts/ndfsm.c:447:7: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’
ts/ndfsm.c: In function ‘traverse_NDFSM’:
ts/ndfsm.c:516:3: warning: passing argument 2 of ‘registerNode_NDFSM’ makes pointer from integer without a cast
ts/ndfsm.c:206:13: note: expected ‘Object *’ but argument is of type ‘int’
gcc -fPIC -DPTHREAD -DATL_CLONE_DISABLE -I. -g3 -O -c ts/register.c -o ts/register.o
ts/register.c: In function ‘printChannel’:
ts/register.c:154:5: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘ChannelID’
gcc -fPIC -DPTHREAD -DATL_CLONE_DISABLE -I. -g3 -O -c ts/serialization.c -o ts/serialization.o
ts/serialization.c: In function ‘serialize’:
ts/serialization.c:452:19: warning: assignment makes pointer from integer without a cast
ts/serialization.c:486:27: warning: assignment makes pointer from integer without a cast
ts/serialization.c:491:11: warning: passing argument 2 of ‘equals’ makes pointer from integer without a cast
./atl/object.h:282:8: note: expected ‘Object *’ but argument is of type ‘int’
ts/serialization.c:498:13: warning: passing argument 1 of ‘toString’ makes pointer from integer without a cast
./atl/object.h:293:11: note: expected ‘Object *’ but argument is of type ‘int’

(Но есть подозрение, что они уже давно исправлены, просто некоторые библиотеки у меня старые.)

History

#1 Updated by Alexander Kamkin almost 6 years ago

  • Target version set to 1.0

#2 Updated by Alexander Kamkin almost 5 years ago

  • Subject changed from Немного warning`ов to [build] Немного warning`ов

Also available in: Atom PDF