Compilation errors in

Samuel Hocevar sam at
Tue Apr 30 12:59:59 CEST 2002

On Tue, Apr 30, 2002, Tony Castley wrote:

> The gcc version returns  2.9-beos-991026, however as to the other 
> questions I will pose them on the BeOS Dev list.

   Could you try to compile the following program:

#include <stdlib.h>
int main(void) {
    void *a1=NULL, *a2=NULL, *a3=NULL, *a4=NULL, *a5=NULL, *a6=NULL;
    asm volatile( "nop" : "=c"(a1), "=d"(a2), "=D"(a3), "=S"(a4)
                        : "c"(a1), "d"(a2), "D"(a3), "S"(a4)
                        : "memory" );
    return 0;

   And also with replacing the 2nd line of the asm statement with the
following tries:

    : "0"(a1), "1"(a2), "2"(a3), "3"(a4)

    : "0"(a1), "1"(a2), "2"(a3), "3"(a4), "m"(a5), "m"(a6)

    : "c"(a1), "d"(a2), "D"(a3), "S"(a4), "m"(a5), "m"(a6)

   Which ones work? Which ones don't?


This is the vlc-devel mailing-list, see
To unsubscribe, please read
If you are in trouble, please contact <postmaster at>

More information about the vlc-devel mailing list