On Friday 10 April 2015 18:49:08 Thiago Macieira wrote:
> Is there a design document for SSM? As seen in the other thread, it appears
> people are confused about what this is supposed to do.

By the way, is anyone testing SSM in 64-bit? I'm getting quite a few warnings 
about pointer mistakes. For example:

service/soft-sensor-manager/SSMCore/src/QueryProcessor/QueryEngine.cpp:264: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             pResult = (std::vector<result_model> *)(((int *)pArg)[2]);

service/soft-sensor-manager/SSMCore/src/QueryProcessor/EvaluationEngine.cpp:78
     CEvaluationEngine *pEvaluationEngine = (CEvaluationEngine 
*)sqlite3_value_int(argv[0]);


The above are wrong and need to be fixed. Please don't ignore warnings.

Also, please don't use C-style casts in C++ Code.

And why are we storing pointers in a database?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to