#20 libgpod 0.6.0 doesn't build with gcc 2.x

closed
nobody
None
5
2008-04-13
2008-03-29
No

The compiler complains about "incomplete type" for various structs in the db-itunes-parser.h header. The reason is that various types contain array declarations which don't specify a size (typically padding[]).

The following patch removes those padding elements completely and changes all instances of string[] to string*. This makes the compiler run complete successfully. I haven't actually looked at the code whether those paddings are actually used anywhere (e.g. for size calculation).

Discussion

  • Jorg Schuler

    Jorg Schuler - 2008-04-13
    • status: open --> closed
     
  • Jorg Schuler

    Jorg Schuler - 2008-04-13

    Logged In: YES
    user_id=646626
    Originator: NO

    I guess we won't be able to support gcc 2.x any more. As far as I remember, these paddings are used and necessary, which means a rewrite of the code would be necessary.

    JCS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks