Bug#447196: [pkg-mad-maintainers] Bug#447196: Bug#447196: anonymous structure makes lib partially unusable in C++

2007-11-15 Thread Kurt Roeckx
On Thu, Nov 15, 2007 at 09:32:50PM +0100, Philippe Coval wrote:
  Because the structure can not be casted to an anonymous structure
  which is mandatory in C++ (malloc returns void* and new is impossible
  without typename)
  
 
  Why do you think you need to allocate that buffer yourself?  This is
  normally done in by libmad itself, in mad_decoder_run().

 true, unless I hack the lib for personnal use :)

If you're already changing it to do other things you want to do with it,
I don't see why we should change something.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447196: [pkg-mad-maintainers] Bug#447196: anonymous structure makes lib partially unusable in C++

2007-11-15 Thread Philippe Coval
Kurt Roeckx wrote:
 On Thu, Oct 18, 2007 at 10:31:34PM +0200, Philippe Coval wrote:
   
 Package: libmad
 
Hi
 I am about to report this upstream too
 

 I haven't seen you send this to an upstream list yet?
   
here is it (noone replied so far) :
 
http://sourceforge.net/tracker/index.php?func=detailaid=1816107group_id=12349atid=312349


 Because the structure can not be casted to an anonymous structure
 which is mandatory in C++ (malloc returns void* and new is impossible
 without typename)
 

 Why do you think you need to allocate that buffer yourself?  This is
 normally done in by libmad itself, in mad_decoder_run().
   
true, unless I hack the lib for personnal use :)

I agrea this is not a debian specific bug

Regards

-- 
 # mailto:rzr[a]users.sf.net -- gpg:0x467094BC
 # http://rzr.online.fr/contribs.htm -- Libre Software Addict
 # xmpp:rzr[a]jabber.fr -- sip:rzr[a]ekiga.net




signature.asc
Description: OpenPGP digital signature


Bug#447196: [pkg-mad-maintainers] Bug#447196: anonymous structure makes lib partially unusable in C++

2007-10-28 Thread Kurt Roeckx
On Thu, Oct 18, 2007 at 10:31:34PM +0200, Philippe Coval wrote:
 Package: libmad
 Severity: wishlist
 Tags: patch
 
 --- Please enter the report below this line. ---
 Hi,
 Is it possible to apply this patch ?
 I am about to report this upstream too

I haven't seen you send this to an upstream list yet?

 Because the structure can not be casted to an anonymous structure
 which is mandatory in C++ (malloc returns void* and new is impossible
 without typename)

Why do you think you need to allocate that buffer yourself?  This is
normally done in by libmad itself, in mad_decoder_run().


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#447196: anonymous structure makes lib partially unusable in C++

2007-10-18 Thread Philippe Coval
Package: libmad
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---
Hi,
Is it possible to apply this patch ?
I am about to report this upstream too

Because the structure can not be casted to an anonymous structure
which is mandatory in C++ (malloc returns void* and new is impossible
without typename)

see patch attached :
  http://rzr.online.fr/docs/contribs/patches/libmad-0.15.1brzr.diff

Regards

-- 
 # mailto:rzr[a]users.sf.net -- gpg:0x467094BC
 # http://rzr.online.fr/contribs.htm -- Libre Software Addict
 # xmpp:rzr[a]jabber.fr -- sip:rzr[a]ekiga.net



libmad-0.15.1brzr.diff
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature