RFR (tedious) 8216022: Use #pragma once

Baesken, Matthias matthias.baesken at sap.com
Fri Jan 4 07:57:19 UTC 2019


Hello   Coleen,   on Solaris  Sparc   with  Oracle Studio  12u4  Oct2017  version   we get

" line 25: Error: Unrecognized #pragma once  "

Which  Oracle Studio version do you recommend to use  ?


(good news is  that xlc 12.1  / AIX  works )


Best regards, Matthias


> 
> Message: 2
> Date: Wed, 2 Jan 2019 21:16:59 -0500
> From: coleen.phillimore at oracle.com
> To: hotspot-dev developers <hotspot-dev at openjdk.java.net>, John Paul
> 	Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
> Subject: RFR (tedious) 8216022: Use #pragma once
> Message-ID: <9250036e-8696-6103-6c3f-513fa11ffebd at oracle.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Summary: change include guards to #pragma once, except in generated
> header files.
> 
> Tested with mach5 for linux-x64{-debug}, solaris-sparc, macosx-x64,
> windows-x64, built aarch64 with cross compiler, and zero.
> 
> Ran tier1 and 2 tests.
> 
> The webrev is huge but there are only 3 lines changed in each header
> file.? So click on the patch.
> 
> I'll update the copyright headers with a script with the commit. Also,
> will do this after the shenandoah copyright headers are fixed.
> 
> Adrian: I included you to check your platforms.
> 
> Happy New Year!
> Coleen
> 
> 
> ------------------------------

....

> 
> Here is the webrev and bug link.
> 
> open webrev at http://cr.openjdk.java.net/~coleenp/8216022.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8216022
> 



More information about the hotspot-dev mailing list