diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-21 12:27:54 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-21 12:27:54 +0200 |
commit | 6c7f7b8c698b13ddd97d047c738da48a518e9f0f (patch) | |
tree | 6d5faf0858d3f86bb75e3b881fd0424bc6e3e527 /gcc/ada/g-calend.ads | |
parent | 0310af44bbc4c372246641d891de639f96c15971 (diff) | |
download | gcc-6c7f7b8c698b13ddd97d047c738da48a518e9f0f.zip gcc-6c7f7b8c698b13ddd97d047c738da48a518e9f0f.tar.gz gcc-6c7f7b8c698b13ddd97d047c738da48a518e9f0f.tar.bz2 |
[multiple changes]
2016-04-21 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb (Match_Constituent): Treat a constant as a legal
constituent even if it is not to prevent spurious errors.
2016-04-21 Gary Dismukes <dismukes@adacore.com>
* sem_ch4.adb: Minor typo fixes and reformatting.
2016-04-21 Dmitriy Anisimkov <anisimko@adacore.com>
* g-calend.ads (No_Time): The same value in any timezone.
* g-socket.adb (Raise_Host_Error): Remove ending
dot from original error message before append colon delimited
host name.
From-SVN: r235331
Diffstat (limited to 'gcc/ada/g-calend.ads')
-rw-r--r-- | gcc/ada/g-calend.ads | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ada/g-calend.ads b/gcc/ada/g-calend.ads index 4234061..3559130 100644 --- a/gcc/ada/g-calend.ads +++ b/gcc/ada/g-calend.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1999-2014, Free Software Foundation, Inc. -- +-- Copyright (C) 1999-2016, 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- -- @@ -39,7 +39,7 @@ -- Second_Duration. Other functions are to access more advanced values like -- Day_Of_Week, Day_In_Year and Week_In_Year. -with Ada.Calendar; +with Ada.Calendar.Formatting; with Interfaces.C; package GNAT.Calendar is @@ -175,9 +175,11 @@ private -- Robert G. Tantzen. No_Time : constant Ada.Calendar.Time := - Ada.Calendar.Time_Of + Ada.Calendar.Formatting.Time_Of (Ada.Calendar.Year_Number'First, Ada.Calendar.Month_Number'First, - Ada.Calendar.Day_Number'First); + Ada.Calendar.Day_Number'First, + Time_Zone => 0); + -- Use Time_Zone => 0 to be the same binary representation in any timezone end GNAT.Calendar; |