From: Oliver S. <sc...@rb...> - 2012-02-17 14:59:21
|
Hi, I have a question concerning function parameters. Why does CIL remove the const qualifier on all function parameters with non-pointer type? Here is an example: // original function void all_const(const int a0, const long a1, const char a2) { ... } // CIL output void all_const(int a0 , long a1 , char a2 ) { ... } I need to preserve the original function parameter types, including any qualifiers, for my CIL analysis. Is there a way to prevent the const removal and preserve type qualifiers for such non-pointer type function parameters? best regards Oliver |