This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> //Shouldn't this print out: > //fs was called > //Hmmm... Thanks for your bug report. I believe this is a known bug; g++ doesn't evaluate the object when accessing a static member. I'll add a test case for that. The work-around is simple: move the evaluation out of the member access. Regards, Martin
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |