On Ubuntu 14.04, PT_NOTE is #defined in elf.h.
This causes potential confusion for compilation if code uses PT_NOTE from AMDGPUNote.h and also include the elf header, even you qualify the usage with AMDGPU::PT_NOTE.
Differential D30750
Rename PT_NOTE namespace name used in AMDGPUPTNote.h guansong on Mar 8 2017, 10:53 AM. Authored by
Details On Ubuntu 14.04, PT_NOTE is #defined in elf.h. This causes potential confusion for compilation if code uses PT_NOTE from AMDGPUNote.h and also include the elf header, even you qualify the usage with AMDGPU::PT_NOTE.
Diff Detail Event TimelineComment Actions LGTM with a minor nit. Will you also be able to update opencl runtime once this change gets there?
|