On Wed, 13 Jan 2021 03:02:04 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Yes, since the CommonComponentAccessibility being imported from the base 
>> class sometimes it causes compilation glitches - guess ObjC is not a big fan 
>> of forward-declaration. Adding header guard helps. And since i'm not 
>> planning to include sub-component header files in the base classes the ifdef 
>> guard is not required.
>
> The headers in the obj-c usually do not have guards because they are included 
> via "#import"

I know. But in this case that was not enough - that still caused weird 
compilation glitches like full compilation works but incremental calculation 
gives compilation error about usage of non-initialized variables. Guards helped.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1549

Reply via email to