> I understood his intention differently. He used his "trick" not just in main,
> but also in every file in his example.

Yes, it does  not matter. As I said, he adds an attempt to *refer* to
the global variable in main() to make it "used".

> Did you actually check this in C++?

Yes.

> But in any case your original question was
> about C, not C++.

It was about C++. C and C++ compilers behave the same.

-- 
Oleg Goldshmidt | o...@goldshmidt.org

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to