commit | 2944a2b3601ae5847cf54b3130dcf653a7b24b8a | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Mon Sep 21 14:33:20 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Mon Sep 21 14:33:20 2009 -0700 |
tree | 8a620fe5903ac32829c721d89ba589ef76fb87b5 | |
parent | 15b047cfb2146e37c76df303b4a5720009ec0aed [diff] |
Work around gcc 4.0.3 bug. This appears to fix the sim-eng build on the gDapper build machines. Basic problem is that LayerBuffer::OverlaySource has a constructor that calls SurfaceFlinger.signalEvent(). SurfaceFlinger lists LayerBuffer as a friend, but that's not enough to convince gcc that the embedded OverlaySource class is also a friend. I don't see a way to make them friendly, so I marked signalEvent() as public.