User Profile

Collapse

Profile Sidebar

Collapse
stws
stws
Last Activity: Jan 22 '10, 10:20 AM
Joined: Jan 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stws
    replied to C++ brushing-up..., class forward declarations Q?
    in C
    Thanks and sorry see now I forgot to tell classA references classB as well and thus give the chicken&egg problem. So one class needs to be defined before the other and as said 2.96 been less strict conforming compiled the code. Chicken&eggs still exists even with stricter compiler/parsers I assume, how do one work around such then?

    Did try to work a bit on using include files instead as I read a bit here and on gcc.gnu.org, only...
    See more | Go to post

    Leave a comment:


  • stws
    started a topic C++ brushing-up..., class forward declarations Q?
    in C

    C++ brushing-up..., class forward declarations Q?

    Hi Bytes Community,

    I've been away from C++ programming for some years, and now find me self in need to recompile old code that compiles under g++ 2.96, but not under g++ 3.4.3. I notice that g++ 3.4 changed the parser to be more conforming and thus I now see compile errors like tried illustrated below. I've been googlling around, but so far haven't understood the issue at hand, hoping for hints from someone here.

    Got...
    See more | Go to post
No activity results to display
Show More
Working...