Overridden private method is not hidden in ACLiC

From: OKUMURA, Akira <oxon_at_mac.com>
Date: Tue, 10 Apr 2012 19:13:06 +0900

Hello ROOTers,

When I run the main function in the attached C++ code with clang++, g++, ACLiC, or CINT, the behavior is different in ACLiC. I expected that ACLiC could not compile the code because the overridden method Foo is private. But I could call B::Foo without any error or warning.

Is this a limitation or feature of ACLiC? Is it possible to make B::Foo private with ACLiC?

I am using ROOT 5.32/00 on OS X 10.7.3.

OKUMURA, Akira oxon_at_mac.com, okumura_at_stelab.nagoya-u.ac.jp
Solar-Terrestrial Environment Laboratory, Nagoya University
Furo-cho, Chikusa-ku, Nagoya 464-8601, Japan
TEL: +81 52-789-4320 FAX: +81 52-789-4313
Skype : okumura.akira

  • application/octet-stream attachment: test.cxx
Received on Tue Apr 10 2012 - 12:13:17 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 10 2012 - 23:50:01 CEST