No more type-mismatch warnings

View: New views
1 Messages — Rating Filter:   Alert me  

No more type-mismatch warnings

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have gone over the dvdauthor source and made appropriate changes to
various argument types to get rid of all warnings about type mismatches.
I have also made a whole lot of string pointers const. This necessitated
getting rid of all calls to strsep(3), which modifies its argument. This
has been replaced with a new routine, str_extract_until, which returns a
copy of the extracted substring. This uses strndup(3) where available,
otherwise a substitute is included in compat.[ch].

The only warnings left from -Wall are a couple of ones about not
parenthesizing an "&&"-term in the presence of "||".

The updated source is available here
<http://github.com/ldo/dvdauthor/tree/>.

------------------------------------------------------------------------------
_______________________________________________
Dvdauthor-developer mailing list
Dvdauthor-developer@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-developer