Skip to content

Commit 24ce9b1

Browse files
authored
Merge pull request #4940 from MicrosoftDocs/main
6/06/2023 10:30AM Publishing
2 parents 06c205c + 8fba92f commit 24ce9b1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/c-runtime-library/reference/get-timezone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Zero if successful or an `errno` value if an error occurs.
3333

3434
## Remarks
3535

36-
The **`_get_timezone`** function retrieves the difference in seconds between UTC and local time as an integer. The default value is 28,800 seconds, for Pacific Standard Time (eight hours behind UTC).
36+
The **`_get_timezone`** function retrieves the difference in seconds between UTC and local time as an integer. The default value is 28,800 seconds, for Pacific Standard Time (eight hours behind UTC). If you don't want the default value, call _tzset first to initialize the timezone.
3737

3838
If *`seconds`* is `NULL`, the invalid parameter handler is invoked, as described in [Parameter validation](../parameter-validation.md). If execution is allowed to continue, this function sets `errno` to `EINVAL` and returns `EINVAL`.
3939

docs/cpp/compiler-limits.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
---
22
description: "Learn more about: Compiler Limits"
33
title: "Compiler Limits"
4-
ms.date: "05/06/2019"
4+
ms.date: "06/05/2023"
55
helpviewer_keywords: ["cl.exe compiler, limits for language constructs"]
6-
ms.assetid: f1fa59c6-55b4-414b-80c5-3df72952160d
76
---
87
# Compiler Limits
98

109
The C++ standard recommends limits for various language constructs. The following is a list of cases where the Microsoft C++ compiler does not implement the recommended limits. The first number is the limit that is established in the ISO C++ 11 standard (INCITS/ISO/IEC 14882-2011[2012], Annex B) and the second number is the limit implemented by the Microsoft C++ compiler:
1110

1211
- Nesting levels of compound statements, iteration control structures, and selection control structures - C++ standard: 256, Microsoft C++ compiler: depends on the combination of statements that are nested, but generally between 100 and 110.
1312

14-
- Parameters in one macro definition - C++ standard: 256, Microsoft C++ compiler: 127.
13+
- Parameters in one macro definition - C++ standard: 256, Microsoft C++ compiler using `/Zc:preprocessor-`:127 or using `/Zc:preprocessor`:32767.
1514

16-
- Arguments in one macro invocation - C++ standard: 256, Microsoft C++ compiler 127.
15+
- Arguments in one macro invocation - C++ standard: 256, Microsoft C++ compiler using `/Zc:preprocessor-`:127 or using `/Zc:preprocessor`:32767.
1716

1817
- Characters in a character string literal or wide string literal (after concatenation) - C++ standard: 65536, Microsoft C++ compiler: 65535 single-byte characters, including the NULL terminator, and 32767 double-byte characters, including the NULL terminator.
1918

0 commit comments

Comments
 (0)