Bug with standard functions nb_params count on Windows fixed
authorlbessard
Mon, 01 Dec 2008 14:13:47 +0100
changeset 154 9114afe1f64b
parent 153 6aed920024f9
child 155 e094c92cf197
Bug with standard functions nb_params count on Windows fixed
stage4/generate_c/il_code_gen.c
stage4/generate_c/st_code_gen.c
--- a/stage4/generate_c/il_code_gen.c	Wed Nov 26 09:06:52 2008 +0100
+++ b/stage4/generate_c/il_code_gen.c	Mon Dec 01 14:13:47 2008 +0100
@@ -12192,9 +12192,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__add_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -12365,9 +12365,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__mul_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13108,9 +13108,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__and_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13188,9 +13188,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__or_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13268,9 +13268,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__xor_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13454,9 +13454,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__max_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13534,9 +13534,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__min_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13702,9 +13702,9 @@
                         
                                 function_name = (symbol_c*)(new pragma_c("__mux_"));
                                 
-                                char nb_param_str[10];
+                                char* nb_param_str = new char[10];
                                 sprintf(nb_param_str, "%d", nb_param);
-                                ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                                ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(K_param_value, K_type_symbol, function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(IN0_param_value, IN0_type_symbol, function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
@@ -13789,9 +13789,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__gt_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13869,9 +13869,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__ge_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13949,9 +13949,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__eq_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14029,9 +14029,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__lt_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14109,9 +14109,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__le_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14189,9 +14189,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__ne_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14508,9 +14508,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__concat"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
--- a/stage4/generate_c/st_code_gen.c	Wed Nov 26 09:06:52 2008 +0100
+++ b/stage4/generate_c/st_code_gen.c	Mon Dec 01 14:13:47 2008 +0100
@@ -13740,9 +13740,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__add_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -13917,9 +13917,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__mul_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14700,9 +14700,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__and_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14784,9 +14784,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__or_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -14868,9 +14868,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__xor_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15066,9 +15066,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__max_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15150,9 +15150,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__min_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15326,9 +15326,9 @@
                         
                                 function_name = (symbol_c*)(new pragma_c("__mux_"));
                                 
-                                char nb_param_str[10];
+                                char* nb_param_str = new char[10];
                                 sprintf(nb_param_str, "%d", nb_param);
-                                ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                                ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(K_param_value, K_type_symbol, function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(IN0_param_value, IN0_type_symbol, function_param_iterator_c::direction_in)
                                 ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
@@ -15417,9 +15417,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__gt_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15501,9 +15501,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__ge_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15585,9 +15585,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__eq_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15669,9 +15669,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__lt_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15753,9 +15753,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__le_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -15837,9 +15837,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__ne_"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)
                         
@@ -16176,9 +16176,9 @@
                 
                         function_name = (symbol_c*)(new pragma_c("__concat"));
                         
-                        char nb_param_str[10];
+                        char* nb_param_str = new char[10];
                         sprintf(nb_param_str, "%d", nb_param);
-                        ADD_PARAM_LIST((symbol_c*)(new integer_c(nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
+                        ADD_PARAM_LIST((symbol_c*)(new integer_c((const char *)nb_param_str)), (symbol_c*)(new int_type_name_c()), function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN1_param_value, IN1_type_symbol, function_param_iterator_c::direction_in)
                         ADD_PARAM_LIST(IN2_param_value, IN2_type_symbol, function_param_iterator_c::direction_in)