Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685064

Summary: dev-util/valgrind-3.14.0 USE='mpi' - libmpiwrap.c: In function ‘showTy’: libmpiwrap.c:281:19: error: expected expression before ‘_Static_assert’
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2019-05-04 20:37:33 UTC
Created attachment 575186 [details]
build.log

[...]
In file included from /usr/include/mpi.h:38,
                 from libmpiwrap.c:116:
libmpiwrap.c: In function ‘showTy’:
libmpiwrap.c:281:19: error: expected expression before ‘_Static_assert’
    else if (ty == MPI_UB)             fprintf(f,"UB");
                   ^~~~~~
libmpiwrap.c:282:19: error: expected expression before ‘_Static_assert’
    else if (ty == MPI_LB)             fprintf(f,"LB");
                   ^~~~~~
libmpiwrap.c: In function ‘extentOfTy’:
libmpiwrap.c:462:8: warning: implicit declaration of function ‘PMPI_Type_extent’; did you mean ‘MPI_Type_extent’? [-Wimplicit-function-declaration]
    r = PMPI_Type_extent(ty, &n);
        ^~~~~~~~~~~~~~~~
        MPI_Type_extent
In file included from /usr/include/mpi.h:38,
                 from libmpiwrap.c:116:
libmpiwrap.c: In function ‘walk_type’:
libmpiwrap.c:736:17: error: expected expression before ‘_Static_assert’
       if (ty == MPI_LB || ty == MPI_UB)
                 ^~~~~~
make[2]: *** [Makefile:653: libmpiwrap_ppc32_linux_so-libmpiwrap.o] Error 1
Comment 1 ernsteiswuerfel archtester 2019-05-04 22:02:03 UTC
Created attachment 575222 [details]
emerge --info
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-05-05 00:12:10 UTC

*** This bug has been marked as a duplicate of bug 683778 ***