Skip to contentSkip to conversation

: Two little compiler warnings

ALSA - driver 0002041 [email protected] 1 participant 1 message Apr 19, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2041>
======================================================================

Reported By:                Henne
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   2041
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Distribution:               Suse 10.0 x86_64
Kernel Version:             2.6.17-rc2
======================================================================
Date Submitted:             04-19-2006 22:10 CEST
Last Modified:              04-19-2006 22:51 CEST

======================================================================
Summary: Two little compiler warnings
Description:
The first one:

In file included from /pci/pcxhr/pcxhr_hwdep.c:9:
/pci/pcxhr/../../alsa-kernel/pci/pcxhr/pcxhr_hwdep.c: In function &#8216;pcxhr_hwdep_dsp_load&#8217;:
/pci/pcxhr/../../alsa-kernel/pci/pcxhr/pcxhr_hwdep.c:388: warning: format &#8216;%d&#8217; expects type &#8216;int&#8217;, but argument 4 has type &#8216;size_t&#8217;

It's just a portability issue, since size_t on i386 has 4 bytes and on x86_64 8 bytes.

WARNING: /home/henne/alsa/alsa-driver-1.0.11/pci/pdplus/snd-pdplus.o - Section mismatch: reference to .exit.text:pdplus_sweep from .text.pdplus_probe after 'pdplus_probe' (at offset 0xbe)

after the prototype of pdplus_sweep on line 1405 is an __exit. I deleted it and the warning disappeared.
======================================================================

----------------------------------------------------------------------
Henne - 04-19-06 22:51
----------------------------------------------------------------------
Here's a patch for pcxhr.

Issue History
Date Modified Username Field Change
======================================================================

04-19-06 22:10 Henne          New Issue                                    
04-19-06 22:10 Henne          Distribution              => Suse 10.0 x86_64
04-19-06 22:10 Henne          Kernel Version            => 2.6.17-rc2      
04-19-06 22:51 Henne          File Added: pcxhr_format.diff                    
04-19-06 22:51 Henne          Note Added: 0009360                          

======================================================================

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642