Commit e3bbcf15 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Stop with C++ streams that eat the stack

parent e03c6fd5
......@@ -17,6 +17,7 @@ c: test-parse-c # Polyorb_HI_C output
cp function2/function2_state.h work.leon3/function2/CPP/src
$(MAKE) -C work
$(MAKE) -C work.leon3
./regression.py
native:
......
......@@ -10,7 +10,7 @@
#include "function2.h"
#include "function2_state.h"
#include <iostream>
//#include <iostream>
// Define and use function state inside this context structure
// avoid defining global/static variable elsewhere
......@@ -28,7 +28,7 @@ void function2_PI_doSomethingInCPP
asn1SccT_Int32 *OUT_out1)
{
std::cout << *IN_in1 << std::endl;
// std::cout << *IN_in1 << std::endl;
*OUT_out1 = *IN_in1 + ctxt.counter;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment