char*. Aparently one of the tecplot functions has a wrong signature
and newer gccs don't like the conversion any more.
git-svn-id: https://svn.dealii.org/trunk@8008
0785d39b-7218-0410-832d-
ea1e28bc413d
int ierr = 0,
num_nodes = static_cast<int>(n_nodes),
num_cells = static_cast<int>(n_cells);
-
+
+ char dot[2] = {'.', 0};
ierr = TECINI (NULL,
tecVarNames,
file_name,
- static_cast<char*>("."),
+ dot,
&tec_debug,
&is_double);
Assert (ierr == 0, ExcErrorOpeningTecplotFile(file_name));
-
+
+ char FEBLOCK[] = {'F','E','B','L','O','C','K',0};
ierr = TECZNE (NULL,
&num_nodes,
&num_cells,
&cell_type,
- static_cast<char*>("FEBLOCK"),
+ FEBLOCK,
NULL);
Assert (ierr == 0, ExcTecplotAPIError());
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams