[Getdp] getdp & gmsh 1.15, FORMAT_UNV is redefined

Igor Gnatenko ignatenko at redhat.com
Sun Dec 11 12:01:11 CET 2016


On Sun, Dec 11, 2016 at 11:58 AM, Igor Gnatenko <ignatenko at redhat.com> wrote:
> /builddir/build/BUILD/getdp-2.10.0-source/Kernel/Pos_Format.cpp: In
> function 'void Format_PostElement(PostSubOperation*, int, int, double,
> int, int, int, int, double*, PostElement*)':
> /builddir/build/BUILD/getdp-2.10.0-source/Kernel/Pos_Format.cpp:1522:3:
> error: duplicate case value
>    case FORMAT_TIME_TABLE :
>    ^~~~
> /builddir/build/BUILD/getdp-2.10.0-source/Kernel/Pos_Format.cpp:1495:3:
> error: previously used here
>    case FORMAT_UNV :
>    ^~~~
>
> Looks like in gmsh 1.15 FORMAT_UNV is defined there:
Oops, I meant gmsh 2.15.
> Common/GmshDefines.h:#define FORMAT_UNV   2
>
> Is there any patches already to fix this? Unfortunately I can't file
> trac ticket, because it requires login/password which I don't have.
> --
> -Igor Gnatenko



-- 
-Igor Gnatenko



More information about the getdp mailing list