Search:

Type: Posts; User: brunogon

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    3,459

    Anyway, If I try implement this during execution,...

    Anyway, If I try implement this during execution, and not at the preprocessor, would it be possible? Any ideas?

    I would need something that makes posbile to use it exactly as *(char*)&(a).
    I mean...
  2. Replies
    13
    Views
    3,459

    Thanks everybody, Unfortunately I can´t use...

    Thanks everybody,

    Unfortunately I can´t use C++ code, I was trying to do some decent cast validation, but I think it is not possible.
    Tks again for your help
  3. Replies
    13
    Views
    3,459

    So far, I think It is getting the sizeof...

    So far, I think It is getting the sizeof correctly, the problem is if has any way to define my
    #define COMPILE_TIME_ASSERT(test, a) with a preprocessor #if.

    As the #if gives me an error, I also...
  4. Replies
    13
    Views
    3,459

    preprocessor help

    Hi,

    I´m trying to create a routine to validate my casting. What I want to do is if my structure size is right put some code, if the code should report an error.
    Does anyone knows how can I do...
Results 1 to 4 of 4