- changed status to invalid
ffc prepends std:: to all my custom header functions
Issue #131
invalid
I used to run ffc with a custom header and it will compile the forms no problem. Now dijitso git me errors like these:
c:/users/chaffra/appdata/local/temp/tmpyeffkc/ffc_form_c05ee25023af.cpp: In member function 'virtual void ffc_form_c05ee25023af_cell_integral_main_1::tabulate_tensor(double*, const double* const*, const double*, int) const':
c:/users/chaffra/appdata/local/temp/tmpyeffkc/ffc_form_c05ee25023af.cpp:164:23: error: 'std::std' has not been declared
sv1[1] = std::std::exp(sv1[0]);
^~~
c:/users/chaffra/appdata/local/temp/tmpyeffkc/ffc_form_c05ee25023af.cpp:173:24: error: 'std::semifem' has not been declared
sv1[10] = std::semifem::fd_integral_half_approximation(sv1[9]);
^~~~~~~
c:/users/chaffra/appdata/local/temp/tmpyeffkc/ffc_form_c05ee25023af.cpp:185:24: error: 'std::std' has not been declared
sv1[22] = std::std::exp(sv1[21]);
^~~
c:/users/chaffra/appdata/local/temp/tmpyeffkc/ffc_form_c05ee25023af.cpp:191:24: error: 'std::semifem' has not been declared
sv1[28] = std::semifem::fd_integral_half_approximation(sv1[27]);
^~~~~~~
Please see my custom header file in attachment. Is the std::
prepending being done in UFL or FFC?
Comments (1)
-
- Log in to comment
Please use fenics-support@googlegroups.com for questions.