Opened 11 years ago

Closed 11 years ago

#330 closed defect (fixed)

Some warnig compiling linux i686 platform

Reported by: tanica76 Owned by:
Priority: minor Component:
Severity: low Keywords:
Cc: Sensitive: no

Description

Compiling trunk there are some warning in reader-videoguard2.c
-- operating system: Linux
-- system type: i686-pc-linux
-- system: linux
-- cpu: i686
-- hw: pc
-- use system aes functions
-- use system sha functions
-- use system pcsc functions
[ 32%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o
/home/davide/OScamdevel/oscam-svn/reader-videoguard2.c: In function âpostprocess_cwâ:
/home/davide/OScamdevel/oscam-svn/reader-videoguard2.c:89: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/davide/OScamdevel/oscam-svn/reader-videoguard2.c:116: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/davide/OScamdevel/oscam-svn/reader-videoguard2.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules

Change History (4)

in reply to:  description comment:1 by tanica76, 11 years ago

Compiling trunk there are some warning in reader-videoguard2.c
-- operating system: Linux
-- system type: i686-pc-linux
-- system: linux
-- cpu: i686
-- hw: pc
-- use system aes functions
-- use system sha functions
-- use system pcsc functions
[ 32%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o /home/OScamdevel/oscam-svn/reader-videoguard2.c: In function âpostprocess_cwâ:
/home/OScamdevel/oscam-svn/reader-videoguard2.c:89: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/OScamdevel/oscam-svn/reader-videoguard2.c:116: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/OScamdevel/oscam-svn/reader-videoguard2.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules

comment:2 by dingo35, 11 years ago

Resolution: fixed
Status: newclosed

comment:3 by dingo35, 11 years ago

Resolution: fixed
Status: closedreopened

Sorry, did solve some compiler warnings but not these...

comment:4 by alno, 11 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.