Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2216693
Standardize paragraph about ASCII, SBCS, and MBCS
Rageking8 Jul 14, 2025
df6a32b
Update metadata in 2 topics
Rageking8 Jul 14, 2025
765705e
Convert Command-line errors and warnings list into a table
Rageking8 Jul 15, 2025
0652a0a
Simplify superfluous relative links in "Command-line errors and warni…
Rageking8 Jul 15, 2025
043adf5
Update metadata in "Command-line errors and warnings"
Rageking8 Jul 15, 2025
c7f5964
Convert NMAKE errors and warnings list into a table
Rageking8 Jul 16, 2025
d4e04cc
Simplify superfluous relative links in "NMAKE errors and warnings (Ux…
Rageking8 Jul 16, 2025
8623b1f
Remove space before escape in "NMAKE errors and warnings (Uxxxx)"
Rageking8 Jul 16, 2025
7c30d23
Update metadata in "NMAKE errors and warnings (Uxxxx)"
Rageking8 Jul 16, 2025
369242a
Clean up links to removed "What's new for the Microsoft C++ docs" art…
Rageking8 Jul 18, 2025
08e76a7
Convert Project build errors and warnings list into a table
Rageking8 Jul 18, 2025
847110c
Simplify superfluous relative links in "Project build errors and warn…
Rageking8 Jul 18, 2025
e7454fc
Remove space before escape in "Project build errors and warnings (PRJ…
Rageking8 Jul 18, 2025
730c53d
Update metadata in "Project build errors and warnings (PRJxxxx)"
Rageking8 Jul 18, 2025
5be8d85
Merge pull request #5554 from Rageking8/convert-project-build-errors-…
v-dirichards Aug 19, 2025
ae6d22f
Merge pull request #5551 from Rageking8/clean-up-links-to-removed-wha…
v-dirichards Aug 19, 2025
c4eca47
Merge pull request #5540 from Rageking8/convert-command-line-errors-a…
v-dirichards Aug 19, 2025
fcc985a
Merge pull request #5545 from Rageking8/convert-nmake-errors-and-warn…
v-dirichards Aug 19, 2025
e3cc6ba
Merge pull request #5537 from Rageking8/standardize-paragraph-about-a…
v-dirichards Aug 19, 2025
77ee034
Merge pull request #6045 from MicrosoftDocs/FromPublicMasterBranch
Albertyang0 Aug 19, 2025
fedbd02
Merge pull request #6046 from MicrosoftDocs/main
learn-build-service-prod[bot] Aug 19, 2025
e0a4d8e
Merge pull request #5682 from MicrosoftDocs/main638912217249523810syn…
learn-build-service-prod[bot] Aug 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: "Single-Byte and Multibyte Character Sets"
description: "An introduction to single and multi-byte character sets in the Microsoft runtime library."
ms.date: 11/04/2016
ms.topic: "concept-article"
ms.date: "11/04/2016"
helpviewer_keywords: ["SBCS (single byte character set)", "MBCS [C++], about MBCS", "character sets [C++], multibyte", "character sets [C++], single byte"]
ms.assetid: 2cbc78ea-33c0-4cfb-b0df-7ce2458431ce
---
# Single-byte and multibyte character sets

The ASCII character set defines characters in the range 0x00 - 0x7F. There are many other character sets, primarily European, that define the characters within the range 0x00 - 0x7F identically to the ASCII character set and also define an extended character set from 0x80 - 0xFF. An 8-bit, single-byte-character set (SBCS) is sufficient to represent the ASCII character set and the character sets for many European languages. However, some non-European character sets, such as Japanese Kanji, include many more characters than can be represented in a single-byte coding scheme, and so require multibyte-character set (MBCS) encoding.
The ASCII character set defines characters in the range 0x00 - 0x7F. There are other character sets, primarily European, that define the characters within the range 0x00 - 0x7F identically to the ASCII character set and also define an extended character set from 0x80 - 0xFF. Thus, an 8-bit, single-byte-character set (SBCS) is sufficient to represent the ASCII character set and the character sets for many European languages. However, some non-European character sets, such as Japanese Kanji, include many more characters than a single-byte coding scheme can represent, and therefore require multibyte-character set (MBCS) encoding.

> [!NOTE]
> Many Microsoft run-time library SBCS routines handle multibyte bytes, characters, and strings as appropriate. Many multibyte-character sets define the ASCII character set as a subset. In many multibyte character sets, each character in the range 0x00 - 0x7F is identical to the character that has the same value in the ASCII character set. For example, in both ASCII and MBCS character strings, the one-byte null character ('\0') has value 0x00 and indicates the terminating null character.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,39 +1,42 @@
---
description: "Learn more about: Command-line errors and warnings"
title: "Command-line errors and warnings"
ms.date: "04/17/2019"
ms.assetid: d02ec7df-26a5-4198-ac92-87b29ec9d5c8
description: "Learn more about: Command-line errors and warnings"
ms.date: 04/17/2019
---
# Command-line errors and warnings

The articles in this section provide a reference to the command-line errors and warnings generated by the build tools. These messages have the form `Dxxxx`, where *xxxx* is a four-digit number.

[!INCLUDE[error-boilerplate](../../error-messages/includes/error-boilerplate.md)]
[!INCLUDE[error-boilerplate](../includes/error-boilerplate.md)]

## Command-line error messages

[Command-Line Error D8016](../../error-messages/tool-errors/command-line-error-d8016.md) \
[Command-Line Error D8021](../../error-messages/tool-errors/command-line-error-d8021.md) \
[Command-Line Error D8022](../../error-messages/tool-errors/command-line-error-d8022.md) \
[Command-Line Error D8027](../../error-messages/tool-errors/command-line-error-d8027.md) \
[Command-Line Error D8036](../../error-messages/tool-errors/command-line-error-d8036.md) \
[Command-Line Error D8037](../../error-messages/tool-errors/command-line-error-d8037.md) \
[Command-Line Error D8045](../../error-messages/tool-errors/command-line-error-d8045.md) \
[Command-Line Error D8048](../../error-messages/tool-errors/command-line-error-d8048.md) \
[Command-Line Error D8049](../../error-messages/tool-errors/command-line-error-d8049.md)
| Error | Message |
|--|--|
| [Command-Line Error D8016](command-line-error-d8016.md) | 'option1' and 'option2' command-line options are incompatible |
| [Command-Line Error D8021](command-line-error-d8021.md) | invalid numeric argument 'number' |
| [Command-Line Error D8022](command-line-error-d8022.md) | cannot open 'messagefile' |
| [Command-Line Error D8027](command-line-error-d8027.md) | cannot execute 'component' |
| [Command-Line Error D8036](command-line-error-d8036.md) | '/option' not allowed with multiple source files |
| [Command-Line Error D8037](command-line-error-d8037.md) | cannot create temporary il file; clean temp directory of old il files |
| [Command-Line Error D8045](command-line-error-d8045.md) | cannot compile C file 'file' with the /clr option |
| [Command-Line Error D8048](command-line-error-d8048.md) | cannot compile C file '*file-name*' with /ZW option |
| [Command-Line Error D8049](command-line-error-d8049.md) | cannot execute '*compiler-component*': command line is too long to fit in debug record |

## Command-line warning messages

[Command-Line Warning D9024](../../error-messages/tool-errors/command-line-warning-d9024.md) \
[Command-Line Warning D9025](../../error-messages/tool-errors/command-line-warning-d9025.md) \
[Command-Line Warning D9026](../../error-messages/tool-errors/command-line-warning-d9026.md) \
[Command-Line Warning D9027](../../error-messages/tool-errors/command-line-warning-d9027.md) \
[Command-Line Warning D9028](../../error-messages/tool-errors/command-line-warning-d9028.md) \
[Command-Line Warning D9035](../../error-messages/tool-errors/command-line-warning-d9035.md) \
[Command-Line Warning D9036](../../error-messages/tool-errors/command-line-warning-d9036.md) \
[Command-Line Warning D9040](../../error-messages/tool-errors/command-line-warning-d9040.md) \
[Command-Line Warning D9041](../../error-messages/tool-errors/command-line-warning-d9041.md) \
[Command-Line Warning D9043](../../error-messages/tool-errors/command-line-warning-d9043.md)
| Warning | Message |
|--|--|
| [Command-Line Warning D9024](command-line-warning-d9024.md) | unrecognized source file type 'filename', object file assumed |
| [Command-Line Warning D9025](command-line-warning-d9025.md) | overriding 'option1' with 'option2' |
| [Command-Line Warning D9026](command-line-warning-d9026.md) | options apply to entire command line |
| [Command-Line Warning D9027](command-line-warning-d9027.md) | source file '\<filename>' ignored |
| [Command-Line Warning D9028](command-line-warning-d9028.md) | minimal rebuild failure, reverting to normal build |
| [Command-Line Warning D9035](command-line-warning-d9035.md) | option '*option*' has been deprecated and will be removed in a future release |
| [Command-Line Warning D9036](command-line-warning-d9036.md) | '*option\_2*' instead of '*option\_1*' |
| [Command-Line Warning D9040](command-line-warning-d9040.md) | ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler |
| [Command-Line Warning D9041](command-line-warning-d9041.md) | invalid value '*option-value*' for '/*option-name*'; assuming '*assumed-value*'; add '/analyze' to command-line options when specifying this warning |
| [Command-Line Warning D9043](command-line-warning-d9043.md) | invalid value 'warning_level' for 'compiler_option'; assuming '4999'; Code Analysis warnings are not associated with warning levels |

## See also

Expand Down
87 changes: 45 additions & 42 deletions docs/error-messages/tool-errors/nmake-errors-u1000-through-u4011.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,63 @@
---
description: "Learn more about: NMAKE errors and warnings (Uxxxx)"
title: "NMAKE errors and warnings"
ms.date: "04/16/2019"
description: "Learn more about: NMAKE errors and warnings (Uxxxx)"
ms.date: 04/16/2019
f1_keywords: ["nmake"]
ms.assetid: 9dbe2e12-88ca-4df4-b935-17756112bb79
---
# NMAKE errors and warnings (Uxxxx)

This section is a reference to the errors and warnings generated by the NMAKE build tool. NMAKE errors and warnings have the form U*xxxx*, where *xxxx* is a four-digit number.

[!INCLUDE[error-boilerplate](../../error-messages/includes/error-boilerplate.md)]
[!INCLUDE[error-boilerplate](../includes/error-boilerplate.md)]

## NMAKE fatal errors

[NMAKE fatal error U1000](nmake-fatal-error-u1000.md) \
[NMAKE fatal error U1001](nmake-fatal-error-u1001.md) \
[NMAKE fatal error U1007](nmake-fatal-error-u1007.md) \
[NMAKE fatal error U1023](nmake-fatal-error-u1023.md) \
[NMAKE fatal error U1033](nmake-fatal-error-u1033.md) \
[NMAKE fatal error U1034](nmake-fatal-error-u1034.md) \
[NMAKE fatal error U1035](nmake-fatal-error-u1035.md) \
[NMAKE fatal error U1036](nmake-fatal-error-u1036.md) \
[NMAKE fatal error U1045](nmake-fatal-error-u1045.md) \
[NMAKE fatal error U1050](nmake-fatal-error-u1050.md) \
[NMAKE fatal error U1051](nmake-fatal-error-u1051.md) \
[NMAKE fatal error U1052](nmake-fatal-error-u1052.md) \
[NMAKE fatal error U1055](nmake-fatal-error-u1055.md) \
[NMAKE fatal error U1056](nmake-fatal-error-u1056.md) \
[NMAKE fatal error U1059](nmake-fatal-error-u1059.md) \
[NMAKE fatal error U1064](nmake-fatal-error-u1064.md) \
[NMAKE fatal error U1065](nmake-fatal-error-u1065.md) \
[NMAKE fatal error U1070](nmake-fatal-error-u1070.md) \
[NMAKE fatal error U1071](nmake-fatal-error-u1071.md) \
[NMAKE fatal error U1073](nmake-fatal-error-u1073.md) \
[NMAKE fatal error U1076](nmake-fatal-error-u1076.md) \
[NMAKE fatal error U1077](nmake-fatal-error-u1077.md) \
[NMAKE fatal error U1078](nmake-fatal-error-u1078.md) \
[NMAKE fatal error U1083](nmake-fatal-error-u1083.md) \
[NMAKE fatal error U1086](nmake-fatal-error-u1086.md) \
[NMAKE fatal error U1087](nmake-fatal-error-u1087.md) \
[NMAKE fatal error U1088](nmake-fatal-error-u1088.md) \
[NMAKE fatal error U1095](nmake-fatal-error-u1095.md) \
[NMAKE fatal error U1097](nmake-fatal-error-u1097.md) \
[NMAKE fatal error U1099](nmake-fatal-error-u1099.md) \
[NMAKE fatal error U1100](nmake-fatal-error-u1100.md)
| Error | Message |
|--|--|
| [NMAKE fatal error U1000](nmake-fatal-error-u1000.md) | syntax error : ')' missing in macro invocation |
| [NMAKE fatal error U1001](nmake-fatal-error-u1001.md) | syntax error : illegal character 'character' in macro |
| [NMAKE fatal error U1007](nmake-fatal-error-u1007.md) | double quotation mark not allowed in name |
| [NMAKE fatal error U1023](nmake-fatal-error-u1023.md) | syntax error in expression |
| [NMAKE fatal error U1033](nmake-fatal-error-u1033.md) | syntax error : 'string' unexpected |
| [NMAKE fatal error U1034](nmake-fatal-error-u1034.md) | syntax error : separator missing |
| [NMAKE fatal error U1035](nmake-fatal-error-u1035.md) | syntax error : expected ':' or '=' separator |
| [NMAKE fatal error U1036](nmake-fatal-error-u1036.md) | syntax error : too many names to left of '=' |
| [NMAKE fatal error U1045](nmake-fatal-error-u1045.md) | spawn failed : *message* |
| [NMAKE fatal error U1050](nmake-fatal-error-u1050.md) | *message* |
| [NMAKE fatal error U1051](nmake-fatal-error-u1051.md) | out of memory |
| [NMAKE fatal error U1052](nmake-fatal-error-u1052.md) | file '*filename*' not found |
| [NMAKE fatal error U1055](nmake-fatal-error-u1055.md) | out of environment space |
| [NMAKE fatal error U1056](nmake-fatal-error-u1056.md) | cannot find command processor |
| [NMAKE fatal error U1059](nmake-fatal-error-u1059.md) | syntax error : '}' missing in dependent |
| [NMAKE fatal error U1064](nmake-fatal-error-u1064.md) | MAKEFILE not found and no target specified |
| [NMAKE fatal error U1065](nmake-fatal-error-u1065.md) | invalid option 'option' |
| [NMAKE fatal error U1070](nmake-fatal-error-u1070.md) | cycle in macro definition 'macroname' |
| [NMAKE fatal error U1071](nmake-fatal-error-u1071.md) | cycle in dependency tree for target 'targetname' |
| [NMAKE fatal error U1073](nmake-fatal-error-u1073.md) | don't know how to make 'targetname' |
| [NMAKE fatal error U1076](nmake-fatal-error-u1076.md) | name too long |
| [NMAKE fatal error U1077](nmake-fatal-error-u1077.md) | 'program' : return code 'value' |
| [NMAKE fatal error U1078](nmake-fatal-error-u1078.md) | constant overflow at 'expression' |
| [NMAKE fatal error U1083](nmake-fatal-error-u1083.md) | target macro 'target' expands to nothing |
| [NMAKE fatal error U1086](nmake-fatal-error-u1086.md) | inference rule cannot have dependents |
| [NMAKE fatal error U1087](nmake-fatal-error-u1087.md) | cannot have : and :: dependents for same target |
| [NMAKE fatal error U1088](nmake-fatal-error-u1088.md) | invalid separator '::' on inference rule |
| [NMAKE fatal error U1095](nmake-fatal-error-u1095.md) | expanded command line 'commandline' too long |
| [NMAKE fatal error U1097](nmake-fatal-error-u1097.md) | filename-parts syntax requires dependent |
| [NMAKE fatal error U1099](nmake-fatal-error-u1099.md) | stack overflow |
| [NMAKE fatal error U1100](nmake-fatal-error-u1100.md) | macro '*macro-name*' is illegal in the context of batch rule '*rule-name*' |

## NMAKE warnings

[NMAKE warning U4001](nmake-warning-u4001.md) \
[NMAKE warning U4004](nmake-warning-u4004.md) \
[NMAKE warning U4006](nmake-warning-u4006.md) \
[NMAKE warning U4007](nmake-warning-u4007.md) \
[NMAKE warning U4010](nmake-warning-u4010.md) \
[NMAKE warning U4011](nmake-warning-u4011.md)
| Warning | Message |
|--|--|
| [NMAKE warning U4001](nmake-warning-u4001.md) | command file can be invoked only from command line |
| [NMAKE warning U4004](nmake-warning-u4004.md) | too many rules for target 'targetname' |
| [NMAKE warning U4006](nmake-warning-u4006.md) | special macro undefined : 'macroname' |
| [NMAKE warning U4007](nmake-warning-u4007.md) | filename 'filename' too long; truncating to 8.3 |
| [NMAKE warning U4010](nmake-warning-u4010.md) | 'target' : build failed; /K specified, continuing ... |
| [NMAKE warning U4011](nmake-warning-u4011.md) | 'target' : not all dependents available; target not built |

## See also

[C/C++ Compiler and build tools errors and warnings](../compiler-errors-1/c-cpp-build-errors.md) \
[C/C++ Compiler and build tools errors and warnings](../compiler-errors-1/c-cpp-build-errors.md)\
[NMAKE reference](../../build/reference/nmake-reference.md)
Loading