[Getdp] getdp & gmsh 1.15, FORMAT_UNV is redefined

Igor Gnatenko ignatenko at redhat.com
Sun Dec 11 11:58:00 CET 2016


/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:
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



More information about the getdp mailing list