aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-regist.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-10-23 12:39:50 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-10-23 12:39:50 +0200
commite699b76e9252a4bb0c1af7276113d23e289e8973 (patch)
tree6ba17dad441e2217039dece502d5a11a963ee1ec /gcc/ada/g-regist.ads
parente776d44161b0e8e5d1248db4f0ccecff1b01914c (diff)
downloadgcc-e699b76e9252a4bb0c1af7276113d23e289e8973.zip
gcc-e699b76e9252a4bb0c1af7276113d23e289e8973.tar.gz
gcc-e699b76e9252a4bb0c1af7276113d23e289e8973.tar.bz2
[multiple changes]
2014-10-23 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Expression_Function): Simplify analysis in generic context, and generate body in this case as well, to simplify ASIS traversals on the construct. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Complete_Object_Operation): Indicate that the scope of the operation (s) is referenced, to prevent spurious warnings about unused units. 2014-10-23 Johannes Kanig <kanig@adacore.com> * errout.adb (Error_Msg_Internal): Copy check flag, increment check msg count. * erroutc.adb (Delete_Msg) adjust check msg count. (Output_Msg_Text) handle check msg case (do nothing). (Prescan_Message) recognize check messages with severity prefixes. * errutil.adb (Error_Msg) handle check flag, adjust counter. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * sem_eval.adb (Subtypes_Statically_Match): For a generic actual type, check for the presence of discriminants in its parent type, against the presence of discriminants in the context type. 2014-10-23 Tristan Gingold <gingold@adacore.com> * adaint.c: __gnat_get_file_names_case_sensitive: Default is true on arm-darwin. 2014-10-23 Arnaud Charlet <charlet@adacore.com> * pprint.adb (Expression_Image): Add handling of quantifiers. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * exp_pakd.adb (Expand_Packed_Element_Reference): If the prefix is a source entity, generate a reference to it before transformation, because rewritten node might not generate a proper reference, leading to spurious warnings. 2014-10-23 Tristan Gingold <gingold@adacore.com> * init.c: Fix thinko in previous patch. 2014-10-23 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch3.adb (Decimal_Fixed_Point_Type_Declaration): Inherit the rep chain of the implicit base type. (Floating_Point_Type_Declaration): Inherit the rep chain of the implicit base type. (Ordinary_Fixed_Point_Type_Declaration): Inherit the rep chain of the implicit base type. (Signed_Integer_Type_Declaration): Inherit the rep chain of the implicit base type. * sem_util.ads, sem_util.adb (Inherit_Rep_Item_Chain): New routine. 2014-10-23 Pascal Obry <obry@adacore.com> * g-regist.adb, g-regist.ads: Add support for reading 32bit or 64bit view of the registry. 2014-10-23 Ed Schonberg <schonberg@adacore.com> * exp_ch3.adb (Expand_N_Object_Declaration): If type is abstract, return without expanding expression, to prevent subsequent crash. * freeze.adb: better error message for illegal declaration. From-SVN: r216587
Diffstat (limited to 'gcc/ada/g-regist.ads')
-rw-r--r--gcc/ada/g-regist.ads10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ada/g-regist.ads b/gcc/ada/g-regist.ads
index c7ad4dc..0222a10 100644
--- a/gcc/ada/g-regist.ads
+++ b/gcc/ada/g-regist.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2011, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -54,8 +54,12 @@ package GNAT.Registry is
HKEY_USERS : constant HKEY;
HKEY_PERFORMANCE_DATA : constant HKEY;
- type Key_Mode is (Read_Only, Read_Write);
- -- Access mode for the registry key
+ type Key_Mode is
+ (Read_Only, Read_Write, -- operates on 32bit view of the registry
+ Read_Only_64, Read_Write_64); -- operates on 64bit view of the registry
+ -- Access mode for the registry key. The *_64 are only meaningful on
+ -- Windows 64bit and ignored on Windows 32bit where _64 are equivalent to
+ -- the non 64bit versions.
Registry_Error : exception;
-- Registry_Error is raises by all routines below if a problem occurs