On 9/30/2014 12:02 PM, Luca Barbato wrote:
> Probably ok.

This was pushed and broke API without a version bump. 

Example of breakage:

a.cpp:

    #include <stdio.h>
    #include <stdint.h>

    void lol(uint8_t *str)
    {
        printf("lol: %s.\n", (char*)str);
    }

    int main(void)
    {
        const char *thing = "stuff";

        lol(thing);

        return 0;
    }

Yeilds:

    a.cpp:13:14: error: invalid conversion from ‘const char*’ to ‘uint8_t* {aka 
unsigned char*}’ [-fpermissive]
         lol(thing);
                  ^

- Derek
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to