bitfield optimizations

Discussion in 'C++' started by zb32, Jul 13, 2004.

  1. zb32

    zb32 Guest

    Hi,

    For visual c++, is it possible to turn off packing of the bitfields
    during compilation and make those variables behave like normal ones? I
    need to run purify on my program and it trips on all references to
    bitfields saying those are "uninitialized memory references", which
    makes it impossible to analyze purify output because there are too
    many of those.

    thanks in advance
     
    zb32, Jul 13, 2004
    #1
    1. Advertising

  2. zb32

    David Harmon Guest

    On 12 Jul 2004 16:22:43 -0700 in comp.lang.c++,
    (zb32) wrote,
    >For visual c++, is it possible to turn off packing of the bitfields


    That would be a question about the Microsoft product and not about the
    standard C++ language.

    See the welcome message posted twice per week in comp.lang.c++ or
    available at http://www.slack.net/~shiva/welcome.txt
     
    David Harmon, Jul 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Claudio

    bitfield & union strange ?!

    Claudio, Aug 1, 2004, in forum: C++
    Replies:
    2
    Views:
    4,954
    Gottfried Eibner
    Aug 2, 2004
  2. Replies:
    0
    Views:
    540
  3. Davide Bruzzone
    Replies:
    9
    Views:
    396
    Adam S. Roan
    Aug 27, 2003
  4. Sushil
    Replies:
    1
    Views:
    734
    Jack Klein
    Nov 28, 2003
  5. Ray
    Replies:
    4
    Views:
    1,567
    Jack Klein
    Jan 6, 2004
Loading...

Share This Page