File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ set(CMAKE_PREFIX_PATH ${SymEngine_DIR} ${CMAKE_PREFIX_PATH})
77find_package (SymEngine 0.1.0 REQUIRED CONFIG
88 PATH_SUFFIXES lib/cmake/symengine CMake/)
99set (CMAKE_BUILD_TYPE ${SYMENGINE_BUILD_TYPE} )
10- set (CMAKE_CXX_FLAGS_RELEASE ${SYMENGINE_CXX_FLAGS_RELEASE} )
11- set (CMAKE_CXX_FLAGS_DEBUG ${SYMENGINE_CXX_FLAGS_DEBUG} )
10+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall" )
1211include_directories (${SYMENGINE_INCLUDE_DIRS} )
1312
1413set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR} /cmake/" )
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ VALUE cbasic_neg(VALUE self){
127127}
128128
129129VALUE cbasic_get_args (VALUE self ) {
130- basic_struct * this , * iterator_basic ;
130+ basic_struct * this ;
131131 CVecBasic * args = vecbasic_new ();
132132 int size = 0 ;
133133
@@ -149,7 +149,7 @@ VALUE cbasic_get_args(VALUE self) {
149149}
150150
151151VALUE cbasic_free_symbols (VALUE self ) {
152- basic_struct * this , * iterator_basic ;
152+ basic_struct * this ;
153153 CSetBasic * symbols = setbasic_new ();
154154 int size = 0 ;
155155
Original file line number Diff line number Diff line change 44VALUE check_sympify (VALUE operand2 , basic_struct * cbasic_operand2 ) {
55
66 basic_struct * temp ;
7- VALUE new_operand2 ;
87 VALUE a , b ;
98 double f ;
109 const char * c ;
You can’t perform that action at this time.
0 commit comments