Search:

Type: Posts; User: manuels

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    17,543

    Cool, %zu seems to work with Intel and GNU...

    Cool, %zu seems to work with Intel and GNU compiler.

    Thank you, folks!
  2. Replies
    11
    Views
    17,543

    yeah, would be a workaround. But my output line...

    yeah, would be a workaround. But my output line is quite complex so I would prefer a printf version.
    This warning annoys me since years and I want to know why it doesn't work like that.. in...
  3. Replies
    11
    Views
    17,543

    I know. But I just saw that the error only...

    I know. But I just saw that the error only appears if I use Intel's icc.
    With g++ it works fine.
  4. Replies
    11
    Views
    17,543

    Using stl's vector.size() with printf [solved]

    Hi guys,

    I'm using this code:

    vector<int> v;
    v.push_back(123);
    printf("size: %u\n", v.size());
    And it retuns the result you would expect.
    But if you compile it you get this warning:
Results 1 to 4 of 4