Compare commits

...
793 Commits
Author SHA1 Message Date
Sean McManus 1246f5a62c Merge pull request #7392 from microsoft/main
Merge for 1.3.1
2021-04-19 15:07:20 -07:00
Sean McManus 164a2962b6 Update changelog for 1.3.1. (#7391)
* Update changelog for 1.3.1.
* Update version.
2021-04-19 14:53:42 -07:00
Sean McManus 88768b9c28 Attempt to fix random yarn timeout on Mac. (#7371)
* Attempt to fix random yarn timeout on Mac.
2021-04-15 13:04:42 -07:00
Sean McManus 94ab7f9087 Fix 32-bit Windows. (#7373) 2021-04-15 12:45:22 -07:00
csigsandDevDiv Build Lab - Dev14 e5abb36d32 Localization - Translated Strings (#7366)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-15 09:58:45 -07:00
Yonggang Luo d85e30e746 Logging invalid provided cpp configuration (#7350) 2021-04-14 10:02:46 -07:00
csigsandDevDiv Build Lab - Dev14 1935d85357 Localization - Translated Strings (#7361)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-14 09:55:21 -07:00
Sean McManus 18f29bffa8 Fix activation. (#7345) 2021-04-13 17:56:49 -07:00
csigsandDevDiv Build Lab - Dev14 f0a8c1aa16 Localization - Translated Strings (#7357)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-13 16:34:28 -07:00
csigsandDevDiv Build Lab - Dev14 f3c8c5f389 Localization - Translated Strings (#7353)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-13 10:05:13 -07:00
Michelle Matias 52f7999233 Merge pull request #7352 from microsoft/mimatias/r1-3-0
1.3.0 release
2021-04-12 22:45:17 -07:00
Michelle Matias 173f79ca4e Merge branch 'main' into mimatias/r1-3-0 2021-04-12 22:38:09 -07:00
Michelle Matias 7ed461992e update fwlinks and change log (#7348) 2021-04-12 22:29:29 -07:00
Elaheh Rashedi 57f9e1e5c9 Merge pull request #7315 from microsoft/ella/taskScope
Modify "Configure Task" behavior for multiroot
2021-04-12 14:32:52 -07:00
Elaheh Rashedi 0bb6c89282 Merge branch 'main' into ella/taskScope 2021-04-12 13:19:20 -07:00
Andrew Wang bfab754869 Update CODE_OF_CONDUCT.md (#7340)
Update page to match
https://github.com/microsoft/repo-templates/blob/main/shared/CODE_OF_CONDUCT.md
2021-04-12 11:16:17 -07:00
csigsandDevDiv Build Lab - Dev14 957b812f78 Localization - Translated Strings (#7338)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-12 10:15:08 -07:00
Michelle Matias 288978b251 Add feature request template, update other issues templates (#7330) 2021-04-09 14:29:00 -07:00
csigsandDevDiv Build Lab - Dev14 9a37e6882c Localization - Translated Strings (#7328)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-09 10:25:13 -07:00
Sean McManus b2c9167eec 1_3_0_insiders5 changelog (#7319)
* Update changelog for 1.3.0-insiders5.
2021-04-08 14:21:47 -07:00
Colen Garoutte-Carson 8b7dc8ba3a Update a string. Also, correct use of "MacOS" to the preferred "macOS" (#7318) 2021-04-08 12:59:42 -07:00
Elaheh Rashedi 7ea76ed031 Merge branch 'main' into ella/taskScope 2021-04-08 10:39:55 -07:00
Elaheh Rashedi f092c8fadf linter error fix 2021-04-08 10:39:29 -07:00
csigsandDevDiv Build Lab - Dev14 1001afecc8 Localization - Translated Strings (#7317)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-08 09:52:32 -07:00
Elaheh Rashedi add968510d change task scope to Workspace 2021-04-07 16:42:51 -07:00
Colen Garoutte-Carson 68c891e713 Fix an issue with validating browse configs (#7313) 2021-04-07 15:35:58 -07:00
Colen Garoutte-Carson 2ad3a4006e Add catch of JSON.parse() when reading install.lock. Update message. (#7312) 2021-04-07 13:03:16 -07:00
csigsandDevDiv Build Lab - Dev14 cc1eb1a977 Localization - Translated Strings (#7308)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-07 10:19:17 -07:00
Colen Garoutte-Carson bdd881b4e7 Add check and message for x64 VSIX on M1 Mac (#7303) 2021-04-06 16:26:56 -07:00
Andreea Isac 0b4f51b32e CMake retention telemetry (#7296)
* CMake retention telemetry
2021-04-06 15:35:11 -07:00
Michelle Matias 25d98de880 Changelog for 1.3.0-insiders4 (#7301) 2021-04-06 11:20:44 -07:00
Michelle Matias 7fa6d48ce4 return false when no hash is specified (#7300) 2021-04-06 10:53:30 -07:00
csigsandDevDiv Build Lab - Dev14 a07827e079 Localization - Translated Strings (#7297)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-06 10:46:06 -07:00
Sean McManus 7290c0ce6a Add C_Cpp.files.exclude. (#7285)
* Add C_Cpp.files.exclude.
2021-04-05 14:51:07 -07:00
Colen Garoutte-Carson cc13a92a06 Relax field requirements for custom configs (#7295) 2021-04-05 14:05:31 -07:00
csigsandDevDiv Build Lab - Dev14 0c1df4edb1 Localization - Translated Strings (#7294)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-05 11:54:27 -07:00
Sean McManus e1cf5abc32 Fix multiroot GoToNextDirectiveInGroup. (#7284) 2021-04-05 10:01:04 -07:00
Michelle Matias d9551d2dcc Support macOS ARM64 vsix (#7278) 2021-04-02 14:59:20 -07:00
csigsandDevDiv Build Lab - Dev14 35d12432e7 Localization - Translated Strings (#7280)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-04-02 11:18:57 -07:00
Colen Garoutte-Carson 8bf86bedcf Strip IsExplicit flags if seen in c_cpp_properties.json (#7272) 2021-04-01 16:51:27 -07:00
Colen Garoutte-Carson 53d99cddc4 Update changelog for 1.3.0-insiders3 (#7263) 2021-03-31 19:09:13 -07:00
Colen Garoutte-Carson 8aa5f40dfa Add CUDA support (#7255) 2021-03-31 15:49:49 -07:00
Colen Garoutte-Carson 7133b63c95 Add commands for navigating between the next/prev preprocessor conditionals in a chain (#7256) 2021-03-31 13:07:05 -07:00
Sean McManus 885881294d Update dependencies. (#7239)
* Update webpack dependencies.
* Update node.
* Update copy-props.
* Update ts-loader to fix warning messages.
* Update mocha.
2021-03-31 11:00:46 -07:00
Sean McManus aecb7d541b Fix activation event (#7253)
* Minor activation event fix.
2021-03-31 10:39:40 -07:00
Sean McManus db7c9c78b9 Fix comment continuation. (#7238)
* Fix comment continuation.
2021-03-31 10:27:20 -07:00
Aleksa Pavlovic 0d2e793df7 Fix compileCommands path resolution (#7242) 2021-03-31 10:01:26 -07:00
Bob Brown 0317f3439d Update README.md 2021-03-31 08:57:28 -07:00
Colen Garoutte-Carson ae2faa7b2d Update changelog for 1.3.0-insiders2 (#7235) 2021-03-25 14:05:15 -07:00
Sean McManus fd63b2674a Update changelog. (#7224)
* Update changelog.
* Change date.
2021-03-24 12:42:04 -07:00
Sean McManus 47b502b965 Update changelog. 2021-03-24 05:57:45 -07:00
Sean McManus 56ac2218d5 Change default for autocompleteAddParentheses (#7210) 2021-03-23 06:36:00 -07:00
Elaheh Rashedi ac0801f75e Merge pull request #7211 from microsoft/ella/asterisk
Modifying the multi-line comment rules
2021-03-22 17:03:51 -04:00
Elaheh Rashedi 0924f5c0e9 fix multiline math formulas 2021-03-22 13:12:46 -07:00
Elaheh Rashedi 0e4389c96f Merge branch 'ella/asterisk' of https://github.com/Microsoft/vscode-cpptools into ella/asterisk 2021-03-22 12:52:44 -07:00
Elaheh Rashedi 61e33bda63 Merge branch 'main' into ella/asterisk 2021-03-22 15:43:01 -04:00
Elaheh Rashedi 80b4c418ad clean code 2021-03-22 12:41:39 -07:00
Elaheh Rashedi 483f9823c8 final testing 2021-03-22 12:36:16 -07:00
Elaheh Rashedi 607bc7af62 test passing 2021-03-22 11:19:39 -07:00
Elaheh Rashedi 905fc0fe9b test failiing 2021-03-22 09:04:39 -07:00
Elaheh Rashedi e79dbfb671 some ranames to avoid confusion 2021-03-21 16:55:02 -07:00
Elaheh Rashedi 217760ea68 save comments 2021-03-21 15:08:40 -07:00
csigsandDevDiv Build Lab - Dev14 71d78e310b Localization - Translated Strings (#7196)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-03-19 10:37:16 -07:00
Elaheh Rashedi b641611b86 update minimumVSCodeVersion 2021-03-18 15:41:56 -07:00
Elaheh Rashedi 50a8c7b1df Merge branch 'main' into ella/asterisk 2021-03-18 14:20:13 -07:00
Elaheh Rashedi f7a1d32bea revert a move 2021-03-18 13:28:26 -07:00
Elaheh Rashedi 062b0a80d3 revert a move 2021-03-18 13:27:00 -07:00
Elaheh Rashedi 81989243ad revert a move 2021-03-18 13:22:14 -07:00
Elaheh Rashedi d37cffa9d8 change split and continue rule 2021-03-18 13:03:03 -07:00
csigsandDevDiv Build Lab - Dev14 bde41134f9 Localization - Translated Strings (#7191)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-03-18 10:12:58 -07:00
csigsandDevDiv Build Lab - Dev14 4497b7fb2b Localization - Translated Strings (#7187)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-03-17 11:28:37 -07:00
Colen Garoutte-Carson 63dbbb8b38 Update changelog date (#7183) 2021-03-16 20:44:21 -07:00
Colen Garoutte-Carson 64cc5c42e7 Update msc version (#7182) 2021-03-16 16:53:54 -07:00
Sean McManus 17f7cd1c2c Avoid running the node-addon code if the setting isn't enabled. (#7140) 2021-03-16 16:13:48 -07:00
Colen Garoutte-Carson 0b66fe2535 Update changelog for insiders (#7181) 2021-03-16 16:13:07 -07:00
Colen Garoutte-Carson 1cc0983315 New edge strings from FI (#7179) 2021-03-16 15:39:10 -07:00
Mestery 828589705d support yarn pnp for nodeAddonIncludes (#7123)
This solves problems with Yarn PnP and node addon includes.
2021-03-15 14:39:23 -07:00
Sean McManus fb0b4d1504 Update TPN. (#7173) 2021-03-15 14:26:24 -07:00
Sean McManus 390c987081 Update xmldom and mocha. (#7172)
* Update xmldom and mocha.
2021-03-15 12:05:55 -07:00
csigsandDevDiv Build Lab - Dev14 87f0b9fdee Localization - Translated Strings (#7169)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-03-15 10:17:36 -07:00
c83637e6fe Localization - Translated Strings (#7142)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
2021-03-12 15:17:44 -08:00
Michelle Matias c4b44d3038 Add Doxygen tag label "retval" (#6983) 2021-03-12 14:23:35 -08:00
Sean McManus 0b1064ea7d Fix dependencies. (#7132) 2021-03-09 11:00:15 -08:00
Sean McManus 16f5f68ff8 Add autocompleteAddParentheses (#7109)
* autocompleteAddParentheses
Fixes #882
2021-03-08 17:39:54 -08:00
Sean McManus d2cb68506b Fix getDocumenSymbol before didOpen. (#7104) 2021-03-03 21:29:34 -08:00
csigsandDevDiv Build Lab - Dev14 9b290c5a8a Localization - Translated Strings (#7099)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-03-03 10:09:14 -08:00
Michelle Matias 7bac5a7101 Merge pull request #7053 from microsoft/mimatias/main122
Merge main to release for 1.2.2
2021-02-25 14:38:00 -08:00
Michelle Matias 736cf279c3 Merge branch 'release' into mimatias/main122 2021-02-25 14:36:54 -08:00
Michelle Matias 3d49cfa0e7 Update changelog and fwlink for version 1.2.2 (#7052) 2021-02-25 14:29:50 -08:00
Sean McManus 9e7b2d68ad Fix "console" squiggle with "cppdbg". (#7051)
* Fix "console" squiggle with "cppdbg".
* Change "default"
2021-02-25 13:42:13 -08:00
Sean McManus 2199ec324d Update changelog for 1.2.2-insiders2. (#6996) 2021-02-18 17:48:21 -08:00
Sean McManus 4f3e3c8f63 Fix regression. Add test case. (#6993)
* Add test case.
* Fix regression bug.
2021-02-18 15:56:20 -08:00
csigsandDevDiv Build Lab - Dev14 585cb66534 Localization - Translated Strings (#6991)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-18 11:14:30 -08:00
Colen Garoutte-Carson 325ea2939d Update CHANGELOG.md for 1.2.2-insiders (#6985) 2021-02-17 14:52:53 -08:00
Colen Garoutte-Carson 1a26463bcb Move initialization of TimeTelemetryCollector (#6984) 2021-02-17 14:33:24 -08:00
Elaheh Rashedi 8401086544 Merge pull request #6977 from microsoft/release1.2.1_2
remove main from version
2021-02-16 17:59:36 -05:00
Elaheh Rashedi 5b44545fd2 remove main from version 2021-02-16 17:54:34 -05:00
csigs 71a1005720 Localization - Translated Strings (#6970) 2021-02-16 11:44:06 -08:00
Elaheh Rashedi 52b2b8f6df Merge pull request #6961 from microsoft/release1.2.1
Release1.2.1
2021-02-12 14:00:28 -05:00
Elaheh Rashedi 67345e0e6d Merge branch 'main' into release1.2.1 2021-02-12 13:44:10 -05:00
Elaheh Rashedi fcd84dda26 updating fwlinks and changelog for 1.2.1 (#6960)
* update fwlinks

* update changelog

* change date to 16th
2021-02-12 10:36:34 -08:00
csigsandDevDiv Build Lab - Dev14 dfd4970060 Localization - Translated Strings (#6959)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-12 10:20:13 -08:00
Colen Garoutte-Carson 256d0cd95f Update codespaces check to also include VS Code remoting codespaces (#6952) 2021-02-11 15:16:20 -08:00
Sean McManus 9d4238b236 Fix bug with cwd in build tasks. (#6954) 2021-02-11 12:27:03 -08:00
Sean McManus 9ba19af496 Update signed LLDB-MI for mac. (#6956) 2021-02-11 11:18:08 -08:00
csigsandDevDiv Build Lab - Dev14 c15f359d8f Localization - Translated Strings (#6955)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-11 09:39:21 -08:00
Elaheh Rashedi 7fc86af212 changelog 1.2.1 (#6949) 2021-02-10 14:49:42 -05:00
csigsandDevDiv Build Lab - Dev14 10c477eb09 Localization - Translated Strings (#6946)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-10 09:19:22 -08:00
Michelle Matias 4f4d662541 Add link to Discussions board (#6938) 2021-02-09 14:38:09 -08:00
Sean McManus 9196ba593b Update clang-format style descriptions. (#6914) 2021-02-08 13:45:02 -08:00
chausner 0c6e43c33d Fix typo in README.md (#6918) 2021-02-08 13:15:04 -08:00
Michelle Matias 6514d98b2c Clarify legacy IntelliSense modes in description (#6929) 2021-02-08 13:07:51 -08:00
Sean McManus 64b502b4f2 Fix switch header source with symlinked workspace folders. (#6863) 2021-02-04 11:12:08 -08:00
Sean McManus 3b0b4d1ef0 Merge pull request #6906 from microsoft/localization
[Auto] Localization - Translated Strings
2021-02-04 10:58:07 -08:00
DevDiv Build Lab - Dev14 5661f0a56d Localization - Translated Strings 2021-02-04 15:01:42 +00:00
csigs 1534bc53d8 Localization - Translated Strings (#6899) 2021-02-03 13:56:37 -08:00
Sean McManus ecf57ce8d2 Merge pull request #6892 from microsoft/seanmcm/1_2_0_release3
Update 1.2.0
2021-02-02 13:31:31 -08:00
Sean McManus 0259eeeb5d Merge branch 'main' into seanmcm/1_2_0_release3 2021-02-02 13:25:59 -08:00
Elaheh Rashedi 8c989a057d Merge branch 'main' of https://github.com/Microsoft/vscode-cpptools into ella/asterisk 2021-02-02 13:15:17 -08:00
Elaheh Rashedi 3a0aa9eaa9 add previousLineText from insider release 2021-02-02 13:14:07 -08:00
csigsandDevDiv Build Lab - Dev14 76e427fdb2 Localization - Translated Strings (#6891)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-02 11:03:17 -08:00
Sean McManus 0a13cdec11 Merge pull request #6888 from microsoft/seanmcm/1_2_0_release_2
1.2.0 release 2nd try
2021-02-01 20:36:01 -08:00
Sean McManus 6ff23b461c Merge branch 'main' into seanmcm/1_2_0_release_2 2021-02-01 20:27:47 -08:00
Sean McManus f17ce8703d Fix CHS translation (#6886)
* Fix CHS translation.
* Update date.
* Update hashes.
2021-02-01 20:14:16 -08:00
Sean McManus 978d9ae574 Merge pull request #6885 from microsoft/seanmcm/1_2_0
1.2.0
2021-02-01 14:19:22 -08:00
Sean McManus 399b43666f Merge for 1.2.0. 2021-02-01 14:09:10 -08:00
csigsandDevDiv Build Lab - Dev14 880277c473 Localization - Translated Strings (#6822)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2021-02-01 13:59:47 -08:00
Sean McManus 3faceeb863 Update changelog and fwlinks (#6872)
* Update changelog.
* Update fwlinks and hashes.
2021-02-01 13:49:24 -08:00
Sean McManus 5746586532 Fix cl.exe not appearing in the compiler list. (#6884) 2021-02-01 12:58:25 -08:00
Sean McManus b1deef866d Fix updateChannel for code-exploration. (#6882) 2021-02-01 12:47:28 -08:00
Sean McManus fb89c1c2d8 Add crash count telemetry. (#6851)
* Add crash count telemetry.
2021-01-26 17:24:06 -08:00
Sean McManus fdda9c2db5 Update changelog. (#6852)
* Update changelog.
2021-01-26 16:59:19 -08:00
Elaheh Rashedi 89cdae0456 avoid throwing error for single-file mode task configuration (#6828)
* change master to main

* ignore single-mode files error

* linter error
2021-01-21 13:48:41 -08:00
Michelle Matias f73a5d169a Use cpptools API v5 (#6823) 2021-01-21 13:01:56 -08:00
Sean McManus 5f94a645d5 1.2.0-insiders2 changelog (#6817)
* Update changelog.
2021-01-19 18:20:44 -08:00
Sean McManus f9b6d18af4 Revert "Remove .dylib filtering. (#6796)" (#6797)
This reverts commit e4809d9f90.
2021-01-15 22:09:16 -08:00
Andrew Wang 51fff8eb42 Add new "console" launch config for cppvsdbg (#6794)
* Add new "console" launch config for vsdbg

This PR adds new console support for the cppvsdbg debug type.

This removes the legacy 'externalConsole' flag with 'console'.
Console has four enums:
- internalConsole: Output to the VS Code Debug Console. This doesn't
  support reading console input (ex:Console.ReadLine)
- integratedTerminal: VS Code's integrated terminal
- externalTerminal: External terminal that can be configured via user
  settings
- newExternalWindow: Console applications will be launched in their own
  external console window which will end when the application stops.
  Non-console applications will run without a terminal, and
  stdout/stderr will be ignored.
2021-01-15 18:09:56 -08:00
Sean McManus e4809d9f90 Remove .dylib filtering. (#6796)
* Remove .dylib filtering.
2021-01-15 16:10:21 -08:00
Sean McManus bbcc3fdcab Fix Go to Symbol in Workspace (#6795)
* Fix Go to Symbol in Workspace
2021-01-15 15:57:20 -08:00
Colen Garoutte-Carson 781e813abd Fix issue with git cleanup in loc auto-pr script (#6786) 2021-01-15 11:44:46 -08:00
Colen Garoutte-Carson 8e8482b527 Fix issue with multiple didOpen (#6784) 2021-01-14 18:21:09 -08:00
Michelle Matias 3e2488a9e7 fix config name UI error (#6783) 2021-01-14 17:15:42 -08:00
Sean McManus 2a94a2b26d Fix configuration status bar issue. Update changelog. (#6782)
* Fix configuration status bar issue. Update changelog.
2021-01-14 17:05:50 -08:00
Sean McManus 51557b5ae9 1.2.0-insiders changelog (#6776)
* Update changelog for 1.2.0-insiders.
* Update version.
2021-01-13 18:40:22 -08:00
Sean McManus 1201a56169 Merge pull request #6775 from microsoft/insiders
Merge to main: implement addNodeAddonIncludePaths (#6731)
2021-01-13 18:16:12 -08:00
Sean McManus 3c32946d88 Merge branch 'main' into insiders 2021-01-13 18:10:08 -08:00
Bruce MacNaughton 41b7678e62 implement addNodeAddonIncludePaths (#6731)
* add addNodeAddonIncludePaths, fix for https://github.com/microsoft/vscode-cpptools/issues/4854
2021-01-13 18:09:01 -08:00
Elaheh Rashedi 1145a49108 show a Squiggle if there is a duplicate configuration name (#6752)
* change master to main

* check for duplicate names

* check duplicates before removing the later configs

* spelling check

* fix spelling error

* add configNameInvalid for UI error(won't show yet)

* show the UI error

* squiggle for all duplicates

* change let to const

* squiggle for first one as well

* let to const
2021-01-13 18:02:59 -08:00
Colen Garoutte-Carson 02c547b60e Update offline links to clang-format (#6774) 2021-01-13 15:30:59 -08:00
Michelle Matias 46e6b87d13 Add triplet IntelliSense modes to support cross-compilation (#6745) 2021-01-13 15:05:30 -08:00
Elaheh Rashedi 1bf090238d edit to compile-commands take effect immediately (#6748)
* draft

* check CompileCommands

* check CompileCommands

* remove updateCompileCommandsFileWatchers

* remove array of filewatchers for compile_commands

* Revert "remove array of filewatchers for compile_commands"

This reverts commit d557c6328cfb32adbe79a098df062c74f651d9e9.

* Revert "remove updateCompileCommandsFileWatchers"

This reverts commit 0e6c03a65b1dfad56b79ae39a4ddfbb9f2c35486.
2021-01-11 10:49:13 -08:00
Sean McManus 438a7e337d Fix SwitchHeaderSource with RevealIfOpen (#6751) 2021-01-08 17:46:13 -08:00
Andrew Wang 4ae2f001fa Update link for Windows Debugger (#6750)
* Update link for Windows Debugger

This PR updated the License.txt when vsdbg is downloaded in
debugAdapters.

See https://github.com/microsoft/vscode-cpptools/pull/6735

* Update integreity hash for the Windows Debugger
2021-01-07 14:59:07 -08:00
Sean McManus effb26733e Update runtime licenses. (#6735)
* Update licenses.
* Update License.md to reference RuntimeLicenses.
2021-01-06 17:27:47 -08:00
Sean McManus 1fa4f67afd Stop falling back to a /usr/bin debugger on Windows, show an error when a non-existent miDebuggerPath is used, and stop showing "unknown error" (#6705)
Fix for #6511 and #6608
* Stop falling back to a /usr/bin debugger on Windows.
* Add error message.
* Fix unknown error.
2021-01-06 14:48:53 -08:00
Sean McManus 6254bb6ad2 Output the cppbuild command used. Fix D warnings. (#6701)
* Output the cppbuild command used. Fixes #6647 .
Also fixes "D" command line warnings with cl.exe.
Move the build result message to the end.
Handle the /nologo case and always shows the logo/header if it exists (but default to use /nologo).
2021-01-06 14:35:13 -08:00
dependabot[bot] bf6bc96437 Bump axios from 0.19.2 to 0.21.1 in /.github/actions (#6743)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 14:13:51 -08:00
Sean McManus 71d1f4c701 Remove references to deprecated code. (#6728) 2021-01-04 16:58:06 -08:00
Elaheh Rashedi 26d5679d5d add test 2021-01-04 13:34:44 -08:00
Elaheh Rashedi f297d411df change Rules to TsRules 2020-12-21 13:04:52 -08:00
Sean McManus 2ad35c83c0 Add IntelliSense crashed string and update changelog (#6674)
* Add IntelliSense crashed string.
* Update changelog.
2020-12-21 13:04:06 -08:00
Elaheh Rashedi 72c9f2115e change master to main (#6679)
* change master to main

* master to main
2020-12-17 16:04:38 -08:00
Colen Garoutte-Carson 805f884b17 Handle inactive regions when determining folding ranges (#6667) 2020-12-14 16:22:31 -08:00
Elaheh Rashedi 26726df578 check for valid user compiler path (#6606)
* valid user compiler path

* fix lint error
2020-12-14 13:48:17 -08:00
csigs b7a0279352 Localization - Translated Strings (#6664) 2020-12-14 12:45:24 -08:00
dependabot[bot] f724ae8912 Bump ini from 1.3.5 to 1.3.7 in /Extension (#6653)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 15:09:06 -08:00
Sean McManus ab55557ddb Cache call to which.sync('clang-format') (#6645) 2020-12-08 19:25:46 -08:00
Michelle Matias c70dc9e93b Separate "investigate costing" and "investigate" for debugger issue workflows (#6646) 2020-12-08 16:41:21 -08:00
Michelle Matias 0aaf0c5af4 Fix yaml syntax for GitHub actions (#6644) 2020-12-08 15:58:50 -08:00
Michelle Matias 29ff9be9f7 add GitHub actions for debugger issues (#6637) 2020-12-08 13:23:58 -08:00
Sean McManus 52469738d3 Update TPN. (#6529)
* Update TPN.
2020-12-04 13:26:52 -08:00
Sean McManus 25d74973b0 Update TPN for release. (#6622) 2020-12-03 17:44:20 -08:00
Sean McManus 8dd2efd090 Merge pull request #6601 from xymeng16/master
Allow extension's x64 binaries to run on Apple Silicon x64 emulator
2020-12-03 17:20:43 -08:00
Sean McManus 07683b02fe Merge branch 'master' into master 2020-12-03 16:13:41 -08:00
Sean McManus a0a7d5b678 Add dependencies for TPN generation. (#6621) 2020-12-03 16:13:15 -08:00
Sean McManus adf99597f6 Merge pull request #6620 from microsoft/seanmcm/cherryPick6619
cherry pick6619
2020-12-03 16:12:07 -08:00
Sean McManus 52fe7952d6 Update changelog. 2020-12-03 14:14:30 -08:00
Sean McManus aa4c5df4b7 Fix cwd. (#6619)
Fixes #6618
2020-12-03 14:11:07 -08:00
Sean McManus 3e34ba2227 Fix cwd. (#6619)
Fixes #6618
2020-12-03 14:00:20 -08:00
Sean McManus a3de2f9bee Merge pull request #6614 from microsoft/seanmcm/cherryPick6609
cherry pick 6609
2020-12-02 22:17:06 -08:00
Colen Garoutte-Carson 28f6dd66d2 Add field to activation telemetry for web-based Codespaces (#6609) 2020-12-02 22:15:07 -08:00
Colen Garoutte-Carson 89fd6a960c Remove telemetry for remoteName (#6537) 2020-12-02 22:10:26 -08:00
Colen Garoutte-Carson 08a28c3fd5 Add field to activation telemetry for web-based Codespaces (#6609) 2020-12-02 12:22:40 -08:00
Xiangyi Meng 95ae82ff5c Merge branch 'master' into master 2020-12-02 15:08:05 +08:00
Sean McManus 8b06e7d04f Merge pull request #6607 from microsoft/seanmcm/1_1_3
Merge for 1.1.3 release
2020-12-01 20:53:46 -08:00
Sean McManus b1021432ec Update changelog and @types/vscode 2020-12-01 17:41:56 -08:00
Sean McManus 2cca514128 Fix infinite loop after cpptools crashes. (#6604)
* Fix infinite loop after cpptools crashes: https://github.com/microsoft/vscode-cpptools/issues/6603
2020-12-01 17:25:04 -08:00
Sean McManus 2e33027272 Fix cppbuild task warnings. (#6557)
* Fix cppbuild task warnings: https://github.com/microsoft/vscode-cpptools/issues/6556
2020-12-01 17:21:30 -08:00
Elaheh Rashedi 73a0b95df7 Add localization to strings in LanguageServer\cppBuildTaskProvider.ts (#6544)
* localizing for task provider

* localize single_file_mode_not_available

* remove end of line from localalized string

* modify error(s)

* remove space from localized string

* remove space from localized string
2020-12-01 17:20:56 -08:00
Sean McManus 39f32a3b45 Fix build task bugs. (#6539)
* Fix build task bugs.
* Use VS Code's variable resolution.
2020-12-01 17:20:42 -08:00
Sean McManus 94294dd372 Fix infinite loop after cpptools crashes. (#6604)
* Fix infinite loop after cpptools crashes: https://github.com/microsoft/vscode-cpptools/issues/6603
2020-12-01 15:50:24 -08:00
Sean McManus 61e98c0e0d Fix cppbuild task warnings. (#6557)
* Fix cppbuild task warnings: https://github.com/microsoft/vscode-cpptools/issues/6556
2020-12-01 14:22:59 -08:00
Xiangyi Meng bb910aa280 Add support to Apple Silicon 2020-12-01 20:17:23 +08:00
Sean McManus a6c7ffd8f5 Update a loc string. (#6577) 2020-11-25 20:30:57 -08:00
Elaheh Rashedi 4c2124ebf4 Add localization to strings in LanguageServer\cppBuildTaskProvider.ts (#6544)
* localizing for task provider

* localize single_file_mode_not_available

* remove end of line from localalized string

* modify error(s)

* remove space from localized string

* remove space from localized string
2020-11-25 15:13:31 -08:00
Sean McManus aefe53cab1 Update IntelliSense strings. (#6528) 2020-11-20 12:31:25 -08:00
Sean McManus ce3d3fa403 Fix build task bugs. (#6539)
* Fix build task bugs.
* Use VS Code's variable resolution.
2020-11-19 16:09:03 -08:00
Colen Garoutte-Carson 55a9117ecf Remove telemetry for remoteName (#6537) 2020-11-18 12:54:16 -08:00
Sean McManus 16f352169c 1_1_2 release (#6532)
* Fix fileDirname. (#6482)
* Update changelog.
* Update the version.
2020-11-17 18:02:59 -08:00
guntern e5d08d2a9e fixed problemmatcher regexp (#6490)
* fixed problemmatcher regexp so that it should work with compilers not printing the column
Co-authored-by: guntern <[email protected]>
2020-11-17 14:21:23 -08:00
csigsandazure-pipelines[bot] 3194b10e62 Localization - Translated Strings (#6533)
Co-authored-by: azure-pipelines[bot] <azure-pipelines[bot]@users.noreply.github.com>
2020-11-17 11:39:46 -08:00
Colen Garoutte-Carson 12c653fa7b Do not prompt Web-based Codespaces users to join Insiders (#6513) 2020-11-16 14:34:24 -08:00
csigsandazure-pipelines[bot] 0c32d707ab Localization - Translated Strings (#6523)
Co-authored-by: azure-pipelines[bot] <azure-pipelines[bot]@users.noreply.github.com>
2020-11-16 12:44:47 -08:00
Colen Garoutte-Carson b4e2a8457f Automatically fall back to config provider (#6504) 2020-11-13 14:29:02 -08:00
csigs f6d7577688 Localization - Translated Strings (#6499) 2020-11-11 12:54:47 -08:00
Colen Garoutte-Carson c026a827c6 Replace uses of 'probe' with 'query' (#6495) 2020-11-10 18:57:09 -08:00
Sean McManus 55421659dc Remove symbol_add_failed. (#6493)
* Remove unused strings.
2020-11-10 17:15:28 -08:00
Sean McManus 1a718f3f0e Fix fileDirname. (#6482) 2020-11-10 15:12:12 -08:00
Colen Garoutte-Carson 68078182bf Command to generate .editorconfig file (#6415) 2020-11-10 13:22:48 -08:00
Colen Garoutte-Carson 7bcbea62e9 Replace uses of process.env.HOME with os.homedir() (#6479) 2020-11-10 13:10:58 -08:00
csigs ec66642c60 Localization - Translated Strings (#6487) 2020-11-10 11:58:44 -08:00
Colen Garoutte-Carson 4119b6c263 Add string for log message regarding compiler probeability (#6463) 2020-11-09 21:45:17 -08:00
Sean McManus adff6e66d5 Merge pull request #6481 from microsoft/seanmcm/1_1_1_release
1_1_1 release
2020-11-09 16:05:21 -08:00
Sean McManus 1877aed36a Merge. 2020-11-09 16:01:38 -08:00
Sean McManus 49d9cfd5ee Fix invalid architectures. (#6480)
* Fix invalid architectures.
2020-11-09 15:56:54 -08:00
csigsandazure-pipelines[bot] 6867272d06 Localization - Translated Strings (#6477)
Co-authored-by: azure-pipelines[bot] <azure-pipelines[bot]@users.noreply.github.com>
2020-11-09 09:50:26 -08:00
csigs 890dae3a87 Localization - Translated Strings (#6455) 2020-11-06 11:30:56 -08:00
Sean McManus 9a7fa21028 Update cpptools.json (#6452)
* Update cpptools.json
2020-11-05 19:09:49 -08:00
Sean McManus 50c1efadd8 Fix version. (#6449) 2020-11-05 15:41:17 -08:00
Sean McManus 83df90082a Merge pull request #6448 from microsoft/seanmcm/1_1_0_release
1_1_0 release
2020-11-05 15:30:17 -08:00
Sean McManus b1d7d19ed7 Merge branch 'master' into seanmcm/1_1_0_release 2020-11-05 15:25:21 -08:00
Sean McManus 64de2af400 Update changelog and integrity hashes. (#6447) 2020-11-05 15:24:18 -08:00
csigs 646c3e5ca5 Localization - Translated Strings (#6440) 2020-11-04 12:10:23 -08:00
Elaheh Rashedi f0be1a2d76 add detail to menuItem (#6435) 2020-11-03 16:18:41 -08:00
Elaheh Rashedi df8523e550 "F5" using the correct build task (#6420)
* shows details correctly

* change default name

* generating unique names

* lint errors

* lint errors

* modify resolvetask

* modify details
2020-11-03 14:39:48 -08:00
David Sanders 7d7b898ee6 Fix whitespace in imports (#6421) 2020-11-03 14:12:09 -08:00
Elaheh Rashedi a94de6edff update changelog for insiders 4 (#6429)
* insiders 4

* order

* order 2

* PR #
2020-11-03 13:05:29 -08:00
csigsandDevDiv Build Lab - Dev14 6fbf85df90 Localization - Translated Strings (#6432)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-11-03 10:07:38 -08:00
csigsandDevDiv Build Lab - Dev14 dfa59e12aa Localization - Translated Strings (#6425)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-11-02 11:25:55 -08:00
Colen Garoutte-Carson 5a5903ab25 Add telemetry for machineId changes and remoteName (#6419) 2020-10-30 17:22:49 -07:00
Colen Garoutte-Carson fc7cdac41b Fix paths to edge message files (#6418) 2020-10-30 16:22:02 -07:00
Andrew Wang 68733b4ea6 Update DebugServerPath description (#6414) 2020-10-30 14:17:48 -07:00
csigsandDevDiv Build Lab - Dev14 9a9d58f76b Localization - Translated Strings (#6416)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-10-30 10:15:11 -07:00
Sean McManus 3dd3e8857f Don't register cppvsdbg for Windows ARM. (#6401) 2020-10-29 13:33:07 -07:00
Colen Garoutte-Carson b25e5192bb Various bug fixes with vcFormat (#6408) 2020-10-29 11:37:09 -07:00
csigs c18f3f67b3 Localization - Translated Strings (#6405) 2020-10-28 12:49:22 -07:00
Elaheh Rashedi e5b3136d3b show details of the compiler path (#6377)
* show details of the compiler path

* remove detail from launch.json

* rename noDetailConfig

* lint error

* add comments
2020-10-27 17:26:01 -07:00
Elaheh Rashedi 554c91430b fix terminal issues (windows/linux/linux-on-wsl verified) (#6384)
* fix tab issues on g++ on windows

* add ;

* windows+linux verified
2020-10-27 13:03:28 -07:00
csigs 5ee1034856 Localization - Translated Strings (#6400) 2020-10-27 11:11:11 -07:00
Andrew Wang dcc1f93f1c ResolveDebugConfigurationWithSubstitutedVariable (#6382)
Add resolveDebugConfigurationWithSubstitutedVariables for
configurationProviders.

Keeping resolveDebugConfiguration to return null if type is not provided
in order to prompt `provideDebugConfiguration`.
2020-10-26 15:00:21 -07:00
csigsandDevDiv Build Lab - Dev14 7690c1a1dd Localization - Translated Strings (#6380)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-10-26 13:21:41 -07:00
Elaheh Rashedi 3832029be4 don't overwrite options and args (#6374)
* dont overwrite options and args

* linter error

* update changelog
2020-10-22 16:47:23 -07:00
Sean McManus 61ab30fe87 Fix insiders bug. (#6373) 2020-10-22 14:56:12 -07:00
Andrew Wang 839eefa032 [cppdbg] Support new sourceFileMap schema (#6319)
* [cppdbg] Support new sourceFileMap schema

For cppdbg, sourceFileMap can be used for binding breakpoints.
If keeping with the old format "<source-path>":"<target-path>", it will
always be used for breakpoints.

If you use the new:
"<compile-path>" : {
   "editorPath": "<target-path>",
   "useForBreakpoints": true
}

The sourceMap will only be used for frame enumeration.

* Fix linter issues

* Addressing PR comments
2020-10-22 13:36:06 -07:00
Sean McManus 7779eb0a56 update1 1 0 insider3 changelog (#6371)
* Update changelog.
2020-10-22 13:27:16 -07:00
csigsandDevDiv Build Lab - Dev14 da43cf9b15 Localization - Translated Strings (#6367)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-10-21 11:20:54 -07:00
Sean McManus 73653f894e Fixes for Windows ARM64 (#6337)
* Fixes for Windows ARM64
* Update node types version.
2020-10-20 19:38:16 -07:00
余腾靖 12feb81aa1 Add intelliSenseUpdateDelay setting (#6344)
* Add intelliSenseUpdateDelay setting
* Typo: settings_spaceWithinSquareBracketse -> settings_spaceWithinSquareBrackets
2020-10-20 10:54:37 -07:00
Elaheh Rashedi e41b32c5cd setup time (#6351) 2020-10-19 12:59:38 -07:00
Colen Garoutte-Carson f73d351981 Action bug fixes (#6336) 2020-10-16 17:44:29 -07:00
Elaheh Rashedi 5f43d5fcc1 add telemetry updates for openfile (#6257)
* copy ClientCollection.ts

* copy extension.ts

* copy client.ts

* rename LS message

* create new file

* spath to path

* remove uri with logged telemtery

* fix linter errors

* fix linter errors 2

* fix linter error 3

* change warm start collection

* nit

* bring setDidOpenTime to the beginnign of didOpen

* reply to reviews
2020-10-16 17:18:54 -07:00
Colen Garoutte-Carson 444b3ccb9e Add action to reopen feature requests that get enough votes (#6305) 2020-10-16 14:14:12 -07:00
Sean McManus a052d76f62 Revert "Use 'resolveDebugConfigWithSubVariables' (#6328)" (#6331)
This reverts commit 2ec525e129.
2020-10-15 19:46:51 -07:00
Colen Garoutte-Carson 8ac65e65b5 Only show warning channel the first time populated (#6330) 2020-10-15 17:55:42 -07:00
Andrew Wang 2ec525e129 Use 'resolveDebugConfigWithSubVariables' (#6328)
This PR uses the
DebugConfigurationProvider.resolveDebugConfigurationWithSubstitutedVariables
which allows the debug configuration to wait for the preLaunchTask to
complete before continuing on and resolving variables that may have been
set in the 'tasks.json'.

This also resolves the logging issue where the 'Build and Debug Active
File' preLaunchTask uses the current file but we switch to the output
window for logging.
2020-10-15 16:13:32 -07:00
Sean McManus b124e441fa Update changelog for 1.1.0-insiders2. (#6327) 2020-10-15 15:55:41 -07:00
Colen Garoutte-Carson ff6fd3473b Remove files for Azure Pipeline CI (#6313) 2020-10-13 21:44:35 -07:00
Colen Garoutte-Carson da110e78f0 CI workflows based on GitHub actions (#6312) 2020-10-13 20:07:52 -07:00
Colen Garoutte-Carson 89f609d70b Prevent config warnings from stealing user focus (#6310) 2020-10-13 19:45:57 -07:00
Andrew Wang 9dfb2c6060 Fix 'Build and Debug Active File' race condition with EngineLogs (#6304)
* Fix 'Build and Debug Active File' race condition with EngineLogs

If users use 'Build and Debug Active File' with "engineLogging", the resolveDebugConfigurations will quickly switch to the output window and `${fileBasenameNoExtension}` will resolve to something similar to `./extension-output-#5`.

This may be a bug with VS Code determining the output window to be a file, but this will unblock users who need to enable engine logging for this scenario.
2020-10-13 17:01:59 -07:00
Colen Garoutte-Carson 20759af979 Regenerate action JS files (#6306) 2020-10-13 13:41:03 -07:00
Colen Garoutte-Carson 2dbe8e4366 Fix issue causing locker action to lock closed issues too early (#6303) 2020-10-13 12:00:22 -07:00
Sean McManus f94e7e05e0 Update changelog. (#6299)
* Update changelog.
2020-10-13 01:03:30 -07:00
Sean McManus aa2b618ff6 Update VS version. (#6298) 2020-10-12 18:31:20 -07:00
Colen Garoutte-Carson 551642a987 Add timestamps to config warning output (#6297) 2020-10-12 18:10:02 -07:00
csigs c1c59368c1 Localization - Translated Strings (#6295) 2020-10-12 12:59:42 -07:00
Colen Garoutte-Carson 6aa6146689 Add closers for 'by design' and 'duplicate' issues (#6286) 2020-10-09 13:23:54 -07:00
csigsandvs-mobiletools-engineering-service2 558a3cf892 Localization - Translated Strings (#6287)
Co-authored-by: vs-mobiletools-engineering-service2 <[email protected]>
2020-10-09 10:23:24 -07:00
Colen Garoutte-Carson 659cc18243 Corrected some missed occurances of gnu18 -> gnu17 (#6284) 2020-10-08 17:49:34 -07:00
Colen Garoutte-Carson 1e5c015f99 Restrict feature request close action to Triage and Backlog milestones (#6283) 2020-10-08 16:15:33 -07:00
Colen Garoutte-Carson 225a8631d2 Add custom actions to close and lock stale issues (#6241) 2020-10-08 14:11:31 -07:00
csigsandvs-mobiletools-engineering-service2 b8cd5d8bb0 Localization - Translated Strings (#6274)
Co-authored-by: vs-mobiletools-engineering-service2 <[email protected]>
2020-10-08 10:45:07 -07:00
csigs 9fcdafb9cc [Auto] Localization - Translated Strings (#6268) 2020-10-07 16:43:48 -07:00
Sean McManus c71e06a208 Update changelog for 1.1.0-insiders. (#6263) 2020-10-06 16:14:01 -07:00
csigsandDevDiv Build Lab - Dev14 77319d5ce0 Localization - Translated Strings (#6261)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-10-06 16:02:59 -07:00
Andrew Wang 80ea255a7c Merge branch 'master' into release 2020-10-06 13:05:19 -07:00
Michelle Matias 7dcf4db276 Add memory usage limit of an IntelliSense process (#6240) 2020-10-05 14:19:12 -07:00
csigs eac4703376 Localization - Translated Strings (#6253) 2020-10-05 12:35:50 -07:00
csigsandDevDiv Build Lab - Dev14 ca4482d664 Localization - Translated Strings (#6243)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-10-02 10:51:25 -07:00
Sean McManus b31c42e629 Update IntelliSense localized strings. (#6220) 2020-10-01 16:28:18 -07:00
csigs 754dd9a440 Localization - Translated Strings (#6233) 2020-09-30 12:10:32 -07:00
Elaheh Rashedi 25dc96ac27 build clang-format binary for Windows32 instead of 64 (#6223)
* update fwlink

* updare integrity
2020-09-29 22:57:58 -07:00
Sean McManus 1a03dd2a1d Add runtime licenses (#6140)
* Add RuntimeLicenses
* Update version and fwlinks.
* Update gitignore.
2020-09-29 13:36:19 -07:00
csigsandDevDiv Build Lab - Dev14 2136b84aae Localization - Translated Strings (#6227)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-09-29 10:23:11 -07:00
Colen Garoutte-Carson 9c835e5370 Add logging/warnings when compile probing alters explicit user configuration details (#6180) 2020-09-28 17:26:34 -07:00
csigsandDevDiv Build Lab - Dev14 0a09372f61 Localization - Translated Strings (#6219)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-09-28 10:06:11 -07:00
Sean McManus af1ab619e6 Merge pull request #6187 from microsoft/bobbrow/mergeToMaster
Merge changes made in release branch to master
2020-09-25 16:07:14 -07:00
Colen Garoutte-Carson d07c90b6aa Merge branch 'master' into bobbrow/mergeToMaster 2020-09-24 14:03:19 -07:00
csigs 1b8f652d97 Localization - Translated Strings (#6155) 2020-09-24 14:02:59 -07:00
Elaheh Rashedi 7817a10b5f remove extra telemtery (#6206) 2020-09-24 12:59:21 -07:00
Michelle Matias 6eeff1ab02 Disable Linux test (#6203) 2020-09-23 17:22:05 -07:00
Colen Garoutte-Carson bc0770aa9b Revert "Add showWarning message and output channel"
This reverts commit d737c07a10.
2020-09-22 17:54:06 -07:00
Colen Garoutte-Carson d737c07a10 Add showWarning message and output channel 2020-09-22 17:32:40 -07:00
40e28c2a85 Task Provider Feature (#5659)
* adding standard std version to clang_format_style

* add new cppBuildTaskProvider

* add Sean's changes  to tasks

* draft

* draft 2

* draft 3 - working

* windows version

* fix cwd path

* fix cwd

* change header and source file set

* minor changes

* make new instance

* create new instance

* remove compilerPath input

* review changes

* solving the error due to space in file name

* showing the error message

* fix lint

* add set timeout and setinterval from timers

* Rename cppbuildTaskProvider.ts to cppBuildTaskProvider.ts

* fire the events with zero

* delete filewatcher

* localize strings

* change changelog.md

* changelog

* changelog

* change format

* wait dobuild

* use checkFileExists

* after test

* after test2

* add properties

* change the doBuild

* this.closeEmitter.fire(result);

* change doBuild

* very minor change

* label vs name resolved

* draft

* draft for Sean

* before cleaning the code

* Stable, Clean, Before API proposal

* adding details to the tasks menue

* add TODO

* remove extra ",remove description,merge from local

* remove task rename in this versoin

* remove TODOs

* merge the "default" stuff

* remove some parts of proposals

* fix linter errors

* add import * as which from 'which';

* clean up the code after version 1.0.0

* add new line

* adapt to the new Vs Code API

* linter error

* revert changelog

Co-authored-by: Elaheh Rashedi <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
2020-09-22 12:52:10 -07:00
Bob Brown (DEVDIV) f3f151075b removing duplicate cleanup stage 2020-09-22 10:28:05 -07:00
Bob Brown (DEVDIV) 79d0b01722 Merge branch 'bobbrow/mergeToMaster' of https://github.com/Microsoft/vscode-cpptools into bobbrow/mergeToMaster 2020-09-22 10:25:24 -07:00
Bob Brown (DEVDIV) 8ad680b57b removing duplicate installation stage 2020-09-22 10:25:19 -07:00
Bob Brown 1822556dc2 Merge branch 'master' into bobbrow/mergeToMaster 2020-09-22 10:22:23 -07:00
Bob Brown (DEVDIV) f2ca7a2c03 update package.json 2020-09-22 10:20:27 -07:00
Sean McManusandColen Garoutte-Carson 0940fb709c Merge pull request #6177 from microsoft/1.0.1
* Fix issue with LSP process not getting shut down gracefully (#6141)
* Update version number and changelog
* Update changelog, fwlinks, and hashes.

Co-authored-by: Colen Garoutte-Carson <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
2020-09-21 16:51:25 -07:00
Sean McManus 9d79f0ff2b Update changelog, fwlinks, and hashes. 2020-09-21 15:38:48 -07:00
Bob Brown (DEVDIV) c23d218403 Update version 2020-09-21 12:21:45 -07:00
Bob Brown (DEVDIV) 8dacea0cd5 Update changelog 2020-09-21 12:20:18 -07:00
Bob Brown (DEVDIV) 04e93a9bb4 update changelog 2020-09-16 15:55:32 -07:00
Bob Brown (DEVDIV) a17c8e6dd4 remove #6147 from the list of fixes 2020-09-16 15:27:10 -07:00
Bob Brown (DEVDIV) 4508c95dac one more changelog update 2020-09-16 13:30:15 -07:00
Bob Brown (DEVDIV) bcc45e5d60 Update version number and changelog 2020-09-16 13:28:29 -07:00
Colen Garoutte-Carson df83a38c61 Fix issue with LSP process not getting shut down gracefully (#6141) 2020-09-16 13:00:53 -07:00
csigs 348be98436 Localization - Translated Strings (#6146) 2020-09-15 14:37:24 -07:00
Colen Garoutte-Carson 927a0a8995 Fix casing of some loc strings (#6098) 2020-09-15 13:45:03 -07:00
Colen Garoutte-Carson 9f8a5ad797 Fix issue with LSP process not getting shut down gracefully (#6141) 2020-09-15 13:23:46 -07:00
Sean McManus 27b5faca11 Merge pull request #5998 from devabhishekpal/provider_5871
Refactored provider classes from client.ts to providers.ts
2020-09-14 18:07:08 -07:00
Sean McManus fc72913cb5 Merge branch 'master' into provider_5871 2020-09-14 14:44:58 -07:00
Sean McManus 857256b753 Update node-fetch. (#6119) 2020-09-14 14:35:29 -07:00
Sean McManus c2af2c9296 Fix jsonc handling for non-active c_cpp_properties.json. (#6133) 2020-09-14 14:15:02 -07:00
Sean McManus 9525fc702d Merge pull request #6131 from microsoft/master
Fix build and debug active file with no .vscode folder on Linux/Mac. …
2020-09-13 12:01:19 -07:00
Sean McManus 0820b5ef52 Fix build and debug active file with no .vscode folder on Linux/Mac. (#6130) 2020-09-13 12:00:14 -07:00
Sean McManus 58d071c917 Merge pull request #6124 from microsoft/master
Merge for 1.0.0 (2nd time)
2020-09-12 15:14:15 -07:00
Sean McManus 9650bb7d9f Fix bug with failed downloads not erroring out. (#6123) 2020-09-12 15:11:07 -07:00
Sean McManus 3c06384078 Update binary hashes. (#6122) 2020-09-12 14:56:25 -07:00
Sean McManus ec0f671ecf Merge pull request #6118 from microsoft/seanmcm/1_0_0_release
Merge for 1.0.0 release
2020-09-11 16:44:11 -07:00
Sean McManus fb3c9af085 Merge branch 'master' into seanmcm/1_0_0_release 2020-09-11 16:19:10 -07:00
Sean McManus 19f918d111 Update changelog for 1.0 and update aarch64 fwlinks (#6109)
* Update changelog for 1.0.
* Update aarch fwlinks.
2020-09-11 16:17:30 -07:00
Sean McManus c22ed1e843 Merge for 1.0.0. 2020-09-10 14:41:11 -07:00
Abhishek Pal 6aab5a14f7 Merge branch 'master' into provider_5871 2020-09-10 20:23:52 +05:30
Abhishek Pal c1a5f25b5b Update renameProvider.ts 2020-09-10 17:08:23 +05:30
Abhishek Pal be06726777 Update onTypeFormattingEditProvider.ts 2020-09-10 17:07:55 +05:30
Abhishek Pal 888d38632a Update documentSymbolProvider.ts 2020-09-10 17:07:30 +05:30
Abhishek Pal 2f35092acf Update documentFormattingEditProvider.ts 2020-09-10 17:07:01 +05:30
Abhishek Pal 75b4240b3e Update client.ts 2020-09-10 17:06:09 +05:30
Abhishek Pal b5ac4e8515 Update .eslintrc.js
Updated .eslintrc.js
2020-09-10 15:47:00 +05:30
Elaheh Rashedi 825ecc350d remove preview from extension (#6100)
* remove preview

* change second readme

* modify readme

* arm 32 bit
2020-09-09 19:49:38 -07:00
Sean McManus 81d0baa321 Update changelog for 0.30.0-insiders5. (#6099)
* Update changelog for 0.30.0-insiders5.
* Fix markup.
2020-09-09 15:25:48 -07:00
Sean McManus 99b198f281 Update serialize-javascript. (#6085) 2020-09-09 15:13:00 -07:00
Abhishek Pal 99b956c319 Update client.ts
Fixed linter errors
2020-09-10 00:37:43 +05:30
Abhishek Pal dd1ab75d13 Fixed eror on line 1360 2020-09-09 14:36:33 +05:30
Sean McManus 58e60ac36a Merge branch 'master' into provider_5871 2020-09-08 12:14:47 -07:00
Abhishek Pal e1596fe3a9 Updated client with current master and fixed extra spaces 2020-09-06 00:27:06 +05:30
Abhishek Pal 66a9890551 Revert "Undo previous commit and changing variables to public static"
This reverts commit d04aa1c4a5.
2020-09-05 23:13:10 +05:30
csigsandDevDiv Build Lab - Dev14 8ea26d6e62 Localization - Translated Strings (#6083)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-09-04 10:28:15 -07:00
Abhishek Pal d04aa1c4a5 Undo previous commit and changing variables to public static 2020-09-04 16:44:53 +05:30
Abhishek Pal 536a94ca3d Revert "Refactored the params into DefaultClient as static members"
This reverts commit ff24cdf33a.
2020-09-04 16:27:00 +05:30
csigsandDevDiv Build Lab - Dev14 3713694b47 Localization - Translated Strings (#6077)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-09-03 12:26:17 -07:00
Elaheh RashediandSean McManus a177759d3a Creating extension pack (#6051)
* initialize extension pack

* initial release

* CMake

* MIT license

* modify changelog

* modify readme

* version update

* new packages added

Co-authored-by: Sean McManus <[email protected]>
2020-09-03 10:38:04 -07:00
Elaheh Rashedi 6e60876af8 which.sync modified (#6073) 2020-09-02 16:49:08 -07:00
csigs c752e31cb4 Localization - Translated Strings (#6070) 2020-09-02 12:23:10 -07:00
Elaheh Rashedi 48d5fef90a bypass launch.json (#6072) 2020-09-02 11:20:18 -07:00
devabhishekpal ff24cdf33a Refactored the params into DefaultClient as static members 2020-09-02 14:16:39 +05:30
Colen Garoutte-Carson abde9a33b9 Split format requests into separate messages for telemetry (#6068) 2020-09-01 17:05:30 -07:00
Elaheh Rashedi e8bc0e8c42 create '.vscode' directory before creating 'tasks.json' (#6065)
* getRawTasksJson modify

* add lib

* create folders while creating a file

* fix linter errors

* remove details from this version

* getRawTasksJson modified

* revert getRawTasksJson
2020-09-01 15:57:22 -07:00
dan-shaw ca777ddf92 Adds a JSON parsing library for tasks.json (#5954)
* add json with comments parser for tasks.json
2020-09-01 12:52:44 -07:00
csigsandDevDiv Build Lab - Dev14 c90c130d05 Localization - Translated Strings (#6063)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-09-01 09:59:03 -07:00
Sean McManus bcb7cd5875 Update changelog for 0.30.0-insiders4. (#6059) 2020-08-31 17:57:50 -07:00
Colen Garoutte-Carson 35fa7f63a0 Plumbing for sending 'files.encoding' to native process (#6040) 2020-08-31 14:40:21 -07:00
Elaheh Rashedi 85936c3cf3 dont squiggel for resolved compilerpath (#6057) 2020-08-31 14:16:53 -07:00
Elaheh RashediandSean McManus 61360a8313 Improving the progress bar (#6050)
* add increment to progress bar

* remove localized string

* calculate the increment based on num of packages

* change increment function

* cleanup extra progress

* add typedef

Co-authored-by: Sean McManus <[email protected]>
2020-08-31 13:59:42 -07:00
csigsandDevDiv Build Lab - Dev14 6d29964cb3 Localization - Translated Strings (#6055)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-31 13:13:30 -07:00
Bob BrownandSean McManus bf67be3000 Fix a regression in resolveVariables (#6049)
Co-authored-by: Sean McManus <[email protected]>
2020-08-28 13:06:01 -07:00
csigs 462a8565ab Localization - Translated Strings (#6045) 2020-08-28 11:53:37 -07:00
Colen Garoutte-Carson ab5d4329f8 Switch to using asWebviewUri instead of vscode-resource (#6041) 2020-08-27 17:42:45 -07:00
Colen Garoutte-Carson e621e98595 Switch to using asWebviewUri instead of vscode-resource (#6041) 2020-08-27 17:42:00 -07:00
csigsandDevDiv Build Lab - Dev14 a84ab7e549 Localization - Translated Strings (#6038)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-27 10:13:38 -07:00
Abhishek Pal babafd20d0 Merge branch 'master' into provider_5871 2020-08-26 14:18:23 +05:30
Abhishek Pal d688979d4f Moved all providers to Providers folder and removed holder classes 2020-08-26 14:17:35 +05:30
Sean McManus a0b948057e Fix some linter errors. (#6026) 2020-08-25 16:08:43 -07:00
csigsandDevDiv Build Lab - Dev14 a08a9b6e11 Localization - Translated Strings (#6015)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-25 15:07:01 -07:00
Sean McManus 1f43948f92 Remove unintended loc. (#6023) 2020-08-25 14:06:21 -07:00
Abhishek Pal e8d91542a8 Added links to the C/C++ properties reference (#5991)
* Added links to the C/C++ properties reference
2020-08-25 13:36:27 -07:00
Abhishek Pal f9c1dec542 Deleted wrong commit 2020-08-25 22:53:23 +05:30
Abhishek Pal 834bfbc8eb Add localization title and changed sentence 2020-08-25 22:47:02 +05:30
Bob Brown 2cc1f62b0f Rename telemetry property that is being filtered (#6017) 2020-08-24 15:50:36 -07:00
Abhishek Pal 64cf9270ed Merge branch 'provider_5871' of https://github.com/devabhishekpal/vscode-cpptools into provider_5871 2020-08-22 16:46:58 +05:30
Abhishek Pal 02cc49b5ab Refixed spaces for linting 2020-08-22 16:46:37 +05:30
Abhishek Pal 742299309b Merge branch 'master' into provider_5871 2020-08-22 16:42:35 +05:30
Abhishek Pal 42664952a1 Fixed linting issues 2020-08-22 16:40:21 +05:30
Abhishek Pal 5aa64f156d Created individual files for providers 2020-08-22 16:16:43 +05:30
Michelle Matias 4e4828694a Add 3 fixes to changelog for 0.30.0-insiders3 (#6005) 2020-08-21 14:56:48 -07:00
Elaheh Rashedi 4ab525fd51 Adding the defaultFolder to the configuration.includePath (#5989)
* update description
* change UI description (match with Docs description)
2020-08-21 12:29:15 -07:00
Abhishek Pal d390344167 Merge branch 'provider_5871' of https://github.com/devabhishekpal/vscode-cpptools into provider_5871 2020-08-21 23:41:19 +05:30
Abhishek Pal 8e2b2e67b7 Added comment lines for azure pipeline error 2020-08-21 23:40:46 +05:30
Sean McManus ea26e533c0 Merge branch 'master' into provider_5871 2020-08-21 10:08:05 -07:00
csigsandDevDiv Build Lab - Dev14 1852c504bf Localization - Translated Strings (#6002)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-21 10:04:35 -07:00
Abhishek Pal 18b7f8d8e4 Fixed lint errors in Azure pipeline 2020-08-21 16:16:55 +05:30
Abhishek Pal fa1b16293e Refactored provider classes from client.ts 2020-08-21 16:00:53 +05:30
Colen Garoutte-Carson 5f7e208926 Fix issue with clang-format on-type failing at end of file (#5995) 2020-08-20 19:37:44 -07:00
Colen Garoutte-Carson 80f41b7c06 Fix issue with clang-format on-type (#5994) 2020-08-20 18:24:15 -07:00
Sean McManus 3e8df13031 Update changelog for 0.30.0-insiders3 (#5992)
* Update changelog for 0.30.0-insiders3
* Update TPN.
2020-08-20 17:13:21 -07:00
Michelle Matias 5743471b68 Generate and validate integrity of downloaded packages (#5978) 2020-08-20 14:29:59 -07:00
Tarik Brown 61c22d7b22 EditorConfig Support (#5932) 2020-08-20 13:27:37 -07:00
Sean McManus f82c1ed901 Add new localized IntelliSense strings. (#5983) 2020-08-19 15:22:24 -07:00
Elaheh Rashedi 2e10951389 change the default to 1.44.0 (#5987) 2020-08-19 12:00:06 -07:00
Elaheh Rashedi 81b6d710f6 insiders upgrade/downgrade after we recall an insider release (#5959)
change GetTargetBuild
Add more tests
2020-08-18 12:12:52 -07:00
csigsandDevDiv Build Lab - Dev14 c87bd6576d Localization - Translated Strings (#5979)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-18 11:11:56 -07:00
Elaheh Rashedi ca72441372 Improve the description of the browse.path setting (#5974)
* change definition of browse.path
2020-08-17 12:58:07 -07:00
Elaheh Rashedi 8312941547 Check the insiders version to be compatible with vscode (#5839)
Check the insiders version to be compatible with vscode
2020-08-17 09:30:10 -07:00
Colen Garoutte-Carson 837cd84d8c Resolve compiler filename if in PATH (#5965) 2020-08-14 16:22:51 -07:00
csigs 86dfc01518 Localization - Translated Strings (#5961) 2020-08-13 11:58:08 -07:00
Elaheh Rashedi bcbabb9ff7 don't downgrade pre-release (#5946)
* no downgrade on pre-release in default channel
2020-08-12 14:42:42 -07:00
Sean McManus 5d97af0fc1 Updates for aarch64 (#5955) 2020-08-12 10:32:12 -07:00
csigsandDevDiv Build Lab - Dev14 de6bc2fae2 Localization - Translated Strings (#5957)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-12 10:18:52 -07:00
Elaheh Rashedi 8246ad066f add telemetry for missing files (#5944) 2020-08-11 16:46:40 -07:00
Sean McManus b063b69a3a Update changelog for 0.30.0-insiders2 (#5956)
* Update changelog for 0.30.0-insiders2
2020-08-11 16:42:45 -07:00
csigs 96433e00a8 Localization - Translated Strings (#5952) 2020-08-11 12:00:30 -07:00
Colen Garoutte-Carson 02f0349010 Correct vcFormat default values (#5949) 2020-08-11 11:41:11 -07:00
Colen Garoutte-Carson ebd7fb169e Revert descriptions to prior to adding clangFormat -> vcFormat fallback (#5948) 2020-08-10 17:46:50 -07:00
Bob BrownandSean McManus fff393310f add telemetry for missing format style (#5933)
Co-authored-by: Sean McManus <[email protected]>
2020-08-10 15:33:36 -07:00
csigs 6eb189944a Localization - Translated Strings (#5943) 2020-08-10 12:39:21 -07:00
csigs a4dfac77a4 Localization - Translated Strings (#5930) 2020-08-07 13:05:36 -07:00
csigs 63cd557eac Localization - Translated Strings (#5916) 2020-08-06 11:54:18 -07:00
Sean McManus cd04d2a51c Set jsonc for c_cpp_properties.json. (#5911)
Fix c_cpp_properties.json not opening as JSON with comments. Follow up to #5885
Fix the configuration UI disappearing when selection moves to the C/C++ or Log Diagnostics window, mentioned at #5822 .
Fix an unreported bug where the configuration UI wouldn't appear for non-cpp files that are active on startup (until the selection changed).
Add more more C/C++ related files to ShowConfigurations.
2020-08-05 18:02:22 -07:00
Colen Garoutte-Carson a051c15bb0 Add localized string label for compiler probe command (#5909) 2020-08-05 17:06:55 -07:00
csigs 85377fa4c2 Localization - Translated Strings (#5900) 2020-08-05 10:38:18 -07:00
Sean McManus 19f14d1516 Update changelog with Colen's latest fixes. (#5895) 2020-08-04 16:25:29 -07:00
csigsandDevDiv Build Lab - Dev14 2912ce5223 Localization - Translated Strings (#5892)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-04 11:26:52 -07:00
Colen Garoutte-Carson 3017c5e83f Allow comments in c_cpp_properties.json (use JSONC) (#5888) 2020-08-03 19:02:11 -07:00
Shogan Aversa-Druesne 5dce5534ff Update settings.html (#5876)
Fix UI:  gnu17 -> gnu18.
2020-08-03 15:50:25 -07:00
csigsandDevDiv Build Lab - Dev14 6a4ba9638d Localization - Translated Strings (#5878)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-08-03 15:49:02 -07:00
Sean McManus 10859b38af Fix formatting settings. (#5887) 2020-08-03 15:48:38 -07:00
Bob Brown 2a0cfd26a9 fix a typo in the formatting settings descriptions (#5886) 2020-08-03 15:48:19 -07:00
Tarik Brown a44c5e4f2c Merge pull request #5872 from microsoft/dev/t-tabro/tsbug
Dev/t tabro/tsbug
2020-07-30 16:51:58 -07:00
Bob Brown c31de3cb1a Merge branch 'master' into dev/t-tabro/tsbug 2020-07-30 15:23:03 -07:00
Bob Brown (DEVDIV) d7a9e077ff PR comments 2020-07-30 15:20:36 -07:00
Tarik Brown ff2356e96d Fix Typo 2020-07-30 14:39:56 -07:00
9baa974219 Localization - Translated Strings (#5863)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
2020-07-30 14:22:48 -07:00
Bob Brown b9392b4ab7 Add enum descriptions and clarify a few formatting descriptions (#5868)
* Add enum descriptions and clarify a few formatting descriptions
2020-07-30 14:06:08 -07:00
Tarik Brown 292aa0e647 Merge branch 'master' of https://github.com/Microsoft/vscode-cpptools 2020-07-30 13:32:28 -07:00
Colen Garoutte-Carson 236ea2af7a Fix another issue with resolving compilerPath when compileCommands are used. (#5855) 2020-07-29 17:38:30 -07:00
Sean McManus ddb62591c2 Update changelog. (#5860) 2020-07-29 17:29:30 -07:00
dependabot[bot] 24f7a15fa0 Bump elliptic from 6.5.2 to 6.5.3 in /Extension (#5859)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 16:34:58 -07:00
Elaheh Rashedi 9903bc708d Extension installation/download failures (#5823)
Authored-by: Elaheh Rashedi <[email protected]>
bug fix: https://github.com/microsoft/vscode-cpptools/issues/4829
- Check for the core binary files in the extension folder and show this warning message if any of the binaries are missing:
- Check for the important JSON files in the extension folder and show this error message if any of the binaries are missing (the message is shown if the user has installed a VSIX that doesn't match their OS).
2020-07-29 16:11:43 -07:00
Colen Garoutte-Carson 42e41bb122 Use detected default compiler (#5838) 2020-07-28 19:02:06 -07:00
Tarik Brown a83b58b090 Merge pull request #5841 from microsoft/dev/t-tabro/bugfixes
Formatting Bug Fixes
2020-07-28 13:00:32 -07:00
Tarik Brown 5ffc2e05c1 Fix Lint Issue 2020-07-28 09:04:43 -07:00
Tarik Brown 9649aa793b Merge branch 'dev/t-tabro/bugfixes' of https://github.com/Microsoft/vscode-cpptools into dev/t-tabro/bugfixes 2020-07-28 08:54:49 -07:00
Tarik Brown 67661a188b Fix Issues 2020-07-28 08:54:43 -07:00
Colen Garoutte-Carson 9c4f93050e Merge branch 'master' into dev/t-tabro/bugfixes 2020-07-27 16:28:12 -07:00
Tarik Brown 5994640826 Push Branch 2020-07-27 15:04:30 -07:00
Tarik Brown 3121cd9ca6 Fix Changes 2020-07-27 15:01:20 -07:00
Tarik Brown f383145b11 Fix PR Changes 2020-07-27 14:58:49 -07:00
Tarik Brown 6f288bb086 TS 2020-07-27 14:41:30 -07:00
Tarik Brown 94756538fd Changes 2020-07-27 12:56:36 -07:00
Tarik Brown 12f04343d5 Merge pull request #5785 from microsoft/dev/t-tabro/formatting
Formatting Feature - First Pass
2020-07-24 08:53:53 -07:00
Colen Garoutte-Carson a469383507 Merge branch 'master' into dev/t-tabro/formatting 2020-07-23 19:21:43 -07:00
Colen Garoutte-Carson 7d3559127b Make commentContinuationPatterns, enhancedColorization and codeFolding window scope (#5830) 2020-07-23 18:20:27 -07:00
Tarik Brown 15fe2279c7 Fix issues 2020-07-23 12:15:42 -07:00
Colen Garoutte-Carson 3a1e751f22 Remove file from semantic token cached when closed (#5824) 2020-07-22 21:00:25 -07:00
Sean McManus 4899e8936b Use GitHub created MIT License. (#5787) 2020-07-22 18:04:27 -07:00
Tarik Brown e6d146e4b8 Remove tabSize and insertSpaces 2020-07-22 14:36:50 -07:00
Tarik Brown b99c86b288 Fix Booleans 2020-07-22 14:32:42 -07:00
Tarik Brown f013b1fdb8 Merge branch 'master' of https://github.com/Microsoft/vscode-cpptools into dev/t-tabro/formatting 2020-07-22 14:26:23 -07:00
Tarik Brown 9584ce76ac rever * 2020-07-22 14:25:26 -07:00
Tarik Brown 3a3e4a9554 Fix formatting 2020-07-22 14:20:03 -07:00
Tarik Brown 955ea7cc9b Merge branch 'dev/t-tabro/formatting' of https://github.com/Microsoft/vscode-cpptools into dev/t-tabro/formatting 2020-07-22 14:18:25 -07:00
Tarik Brown d1a1fe2f41 Fix PR 2020-07-22 14:18:19 -07:00
Michelle Matias 25cc0cdfc6 Update quickInfo test (#5816) 2020-07-22 13:05:34 -07:00
Colen Garoutte-Carson e55adab7f9 Fix semantic tokens in multiroot (#5814) 2020-07-21 15:42:59 -07:00
Sean McManus ac0920a52b Merge branch 'master' into dev/t-tabro/formatting 2020-07-21 14:16:34 -07:00
Tarik Brown e7e99e7da8 Adresss PR 2020-07-21 13:13:47 -07:00
Sean McManus ff7baa5135 Update loc. (#5813) 2020-07-21 13:07:09 -07:00
Sean McManus db13ca2680 Changes for ARM support (#5810)
* Changes to enable ARM.
* Update fwlinks.
2020-07-21 12:35:35 -07:00
dependabot[bot] 6bd63798d6 Bump lodash from 4.17.15 to 4.17.19 in /Extension (#5793)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 15:18:25 -07:00
Sean McManus 287ef10bf2 Update fwlinks and changelog. (#5792)
* Update fwlinks and changelog.
2020-07-16 15:03:07 -07:00
Sean McManus a6f012a251 Merge pull request #5789 from microsoft/seanmcm/0_29_0_release
0_29_0 release
2020-07-15 17:29:58 -07:00
Sean McManus 7cfe3606ff Merge. 2020-07-15 15:54:09 -07:00
Elaheh Rashedi 1192d5b38e changelog Version 0.29.0: July 15, 2020 (#5788)
* changelog Version 0.29.0: July 15, 2020
2020-07-15 15:45:04 -07:00
Sean McManus 8f2016e8ee Change GitHub repo license from .txt to .md. (#5786) 2020-07-15 12:55:05 -07:00
Tarik Brown 0828a20096 Formatting Feature - TypeScript First Pass 2020-07-15 10:33:46 -07:00
Tarik Brown 4e34f2dbe4 Formatting Feature - TypeScript First Pass 2020-07-15 10:32:48 -07:00
Colen Garoutte-Carson faa6d9e28e Add missing semantic token old scope mappings (#5771) 2020-07-13 13:02:23 -07:00
Colen Garoutte-Carson e17ff5e93e Ensure semantic tokens are re-requested if changed without the file having changed (#5755) 2020-07-09 17:28:19 -07:00
Bob Brown 471f9b3701 Fix settings telemetry to handle more deeply nested settings (#5749) 2020-07-08 13:00:31 -07:00
Colen Garoutte-Carson 196510aa19 Update Changelog. Format package.json (#5743) 2020-07-07 19:16:55 -07:00
Sean McManus af8ea7c0a3 Add configuration provider input info to log diagnostics (#5719)
* Add custom config logging.
2020-07-07 16:23:00 -07:00
Michelle Matias ed15700734 Add settings to optionally simplify structured comments (Doxygen) (#5730) 2020-07-07 15:04:28 -07:00
csigsandDevDiv Build Lab - Dev14 977f1f6342 Localization - Translated Strings (#5725)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-07-07 10:26:20 -07:00
Elaheh Rashedi 45a9907832 add ${default} to the end of includePath (#5413) 2020-07-06 13:12:58 -07:00
Sean McManus a9d86c8f62 Merge pull request #5705 from microsoft/seanmcm/screenSizeCherryPick
Screen size cherry pick
2020-07-02 11:25:37 -07:00
Sean McManus 7673fd0ec4 Merge branch 'master' into seanmcm/screenSizeCherryPick 2020-07-02 11:14:38 -07:00
csigsandDevDiv Build Lab - Dev14 02a7c5c45a Localization - Translated Strings (#5716)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-07-02 10:51:43 -07:00
Colen Garoutte-Carson f7165bae4f Switch to Semantic Tokens API (#5401) 2020-07-01 14:48:26 -07:00
Sean McManus d87cc30854 Screen size follow up. 2020-06-26 11:00:10 -07:00
nukoyluoglu 32b997d3d8 ignore 'screen size is bogus' error; fixes microsoft/vscode/issues/100563 (and microsoft/vscode/issues/75932) (#5669)
* ignore 'screen size is bogus' error; fixes microsoft/vscode#75932; imitiates similar fix for a different extension microsoft/vscode-node-debug/commit/5298920
2020-06-26 10:56:30 -07:00
Sean McManus 832165fc9f Fix compileCommand updating. (#5688) 2020-06-25 14:33:53 -07:00
Bob Brown 2efdb847a9 Generate a new telemetry key for comment continuation patterns (#5691) 2020-06-24 17:13:26 -07:00
Sean McManus d8cdeee035 Update changelog for 0.29.0-insiders. (#5684)
* Update changelog for 0.29.0-insiders.
2020-06-23 18:50:54 -07:00
nukoyluoglu 9db05b6945 ignore 'screen size is bogus' error; fixes microsoft/vscode/issues/100563 (and microsoft/vscode/issues/75932) (#5669)
* ignore 'screen size is bogus' error; fixes microsoft/vscode#75932; imitiates similar fix for a different extension microsoft/vscode-node-debug/commit/5298920
2020-06-23 14:59:29 -07:00
Sean McManus d80e04ec66 updateChannel fixes. (#5465)
Fixes:
- It doesn't check for a downgrade to non-insiders on startup, only when the setting changes.
- There was a bug with the timer code that checks for a new insiders every hour.
- It wasn't bypassing the autoUpdate check when the user manually switches the updateChannel.
2020-06-22 16:31:25 -07:00
Michelle Matias 929d548419 Doxygen strings for localization (#5658) 2020-06-22 13:27:46 -07:00
Michelle Matias 64b949583d Update vscode-cpptools to 4.0.1 (#5623) 2020-06-22 13:10:09 -07:00
Andrew Wang de4a6babef [cppvsdbg] Add logging ThreadExit and ProcessExit (#5652)
* [cppvsdbg] Add logging ThreadExit and ProcessExit

This PR adds two log flags for ThreadExit and ProcessExit events.
This will remove the "The thread 10564 has exited with code 0 (0x0)."
and "The program '[24104] ConsoleApplication1.exe' has exited with code
0 (0x0)." messages.
2020-06-18 17:55:30 -07:00
Colen Garoutte-Carson 37dfc2dda4 Additional localized strings for hover and auto-complete (#5651) 2020-06-17 14:19:32 -07:00
Andrew WangandSean McManus b7cd0d9d7d Print launch.json to C/C++ Output Log (#5644)
* Print launch.json to C/C++ Output Log

This PR adds a check in resolveDebugConfiguration so that if a user adds
logging.engineLogging = true in the launch.json, we will output the
resovled json in the C/C++ Output.

* Use GitHub bug notation and add title for log

Co-authored-by: Sean McManus <[email protected]>
2020-06-17 11:17:57 -07:00
Sean McManus 7821797aae Merge pull request #5645 from microsoft/seanmcm/customConfigurationVariableCherryPick
custom configuration variable cherry pick
2020-06-15 15:43:48 -07:00
Sean McManus 3a5a00bab4 Edit customConfigurationVariables description. 2020-06-15 15:02:24 -07:00
Sean McManus a6df7eeaba Fix linter errors. 2020-06-15 14:52:50 -07:00
bugengine 1942a701bf Added system to store and query properties from the active C/C++ configuration (#5453)
* Added system to store and query properties from the active C/C++ configuration
Co-authored-by: yngwe@farnsworth <yngwe@farnsworth>
Co-authored-by: yngwe@bender <yngwe@bender>
2020-06-15 14:50:38 -07:00
Sean McManus 1f1b2b0236 Add prefer-const to eslint. Fix some other lint errors. (#5634) 2020-06-15 14:44:55 -07:00
bugengine eedadd9ba0 Added system to store and query properties from the active C/C++ configuration (#5453)
* Added system to store and query properties from the active C/C++ configuration
Co-authored-by: yngwe@farnsworth <yngwe@farnsworth>
Co-authored-by: yngwe@bender <yngwe@bender>
2020-06-15 14:22:32 -07:00
Andrew Wang 0dea2e48c2 Support Debug Welcome Panel (#5503)
This PR enables the Debug Welcome Panel for c/cpp languages.
2020-06-15 13:46:20 -07:00
Andrew Wang f3c44319b3 Add quoteArgs to schema (#5639)
With https://github.com/microsoft/MIEngine/pull/1006, the debug adapter
supports 'quoteArgs' in pipeTransports. If the user wishes to handle the
quoting for pipeTransport arguments, they should set this field to
'false'. It currently defaults to true.

For example, if quoteArgs is 'true', the pipe command will result in
"bash.exe -c '/usr/bin/gdb --interpreter=mi'" If false,
it will result to "wsl.exe -c /usr/bin/gdb --interpreter=mi"
2020-06-15 13:31:42 -07:00
Sean McManus 86a81392de Fix files.associations updating. (#5626)
Fix for #5618
Scenario 1: Manually change files.associations. Bug: We weren't sending files.associations along with the settings change.
Scenario 2: Open a .C file. Bug: The language associations need to be changed before sending the didOpen.
2020-06-10 10:20:03 -07:00
Michelle Matias b33117997a Update cpptools-api to 4.0.1 in release branch for 0.28.3 (#5624) 2020-06-08 15:54:31 -07:00
Sean McManus 34457f222c Update strings and fwlinks (#5614)
* Update strings.
* Update fwlinks.
2020-06-05 18:20:38 -07:00
Sean McManus e3db8a5bf4 Fix cwd on Windows. (#5605) 2020-06-04 13:00:47 -07:00
Sean McManus 734ce74be2 Merge pull request #5593 from microsoft/seanmcm/0_28_2_release
0_28_2 release
2020-06-02 12:17:27 -07:00
Sean McManus 5262a75d87 Merge. 2020-06-01 15:56:51 -07:00
Sean McManus b7488e61b0 0_28_2 changelog (#5592)
* Update changelog for 0.28.2.
2020-06-01 15:55:09 -07:00
Sean McManus 5210e23479 Fix task bugs. (#5585)
Fixes https://github.com/microsoft/vscode-docs/issues/3724, https://github.com/microsoft/vscode-cpptools/issues/5561, https://github.com/microsoft/vscode-cpptools/issues/3295, https://github.com/microsoft/vscode-cpptools/issues/4761 .

Problems are:
1. The task source was incorrectly changed to "shell" (regression). Only the "type" registered task type needed to be shell: https://github.com/microsoft/vscode-docs/issues/3724 . 
2. Using Configure Default Build Task would create a task with "shell: " or "C/C++: " in the name, while F5 would not. The adding of the source to the name is caused by VS. I had added a bug report at https://github.com/microsoft/vscode/issues/98838, but I just closed it since we can work around the issue via always adding the source to the name.
3. Added the problemMatcher and group fields to the tasks created from F5 (and Build and Debug Active File): https://github.com/microsoft/vscode-cpptools/issues/3295 .
4. Change the cwd to be ${workspaceFolder} instead of "/usr/bin": https://github.com/microsoft/vscode-cpptools/issues/4761 . The reason we did this originally was because Cygwin would fail, but that can be worked around via either adding Cygwin's bin folder the path or changing the cwd for those cases (but most users won't want cwd to be the path to the compiler, and Cygwin usage is low compared to other scenarios).
2020-06-01 13:40:36 -07:00
Krishna Ersson 64ecdb78ad Join string arrays in env with the correct delimiter based on platform (#5510) 2020-05-29 15:16:01 -07:00
csigsandDevDiv Build Lab - Dev14 8c3e10cb5e Localization - Translated Strings (#5582)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-29 10:27:04 -07:00
csigsandDevDiv Build Lab - Dev14 2737f46885 Localization - Translated Strings (#5576)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-28 10:57:08 -07:00
Colen Garoutte-Carson dfca58c539 Handle quoted spaces when stripping args from compilerPath (#5513) 2020-05-21 12:09:24 -07:00
Sean McManus 214a22911d Update changelog. (#5539) 2020-05-20 12:59:54 -07:00
Sean McManus c8a36e091e Merge pull request #5530 from microsoft/seanmcm/0_28_1_release
0_28_1 release
2020-05-19 17:49:21 -07:00
Sean McManus 6c95236356 Merge. 2020-05-19 17:26:27 -07:00
Sean McManus 8a2e6738eb Update changelog, fwlinks, version. (#5529)
* Update changelog, fwlinks, version.
2020-05-19 17:22:48 -07:00
csigsandDevDiv Build Lab - Dev14 d036a413c5 Localization - Translated Strings (#5520)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-18 10:45:22 -07:00
csigs d2f9113397 Localization - Translated Strings (#5495) 2020-05-14 12:37:11 -07:00
csigsandDevDiv Build Lab - Dev14 881836c0e8 Localization - Translated Strings (#5482)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-13 10:42:49 -07:00
Sean McManus 6bdf5f2495 Merge pull request #5475 from microsoft/seanmcm/0_28_0_release2
0_28_0_release2
2020-05-12 13:57:01 -07:00
Sean McManus 9b559d0a18 Merge. 2020-05-12 13:48:23 -07:00
csigsandDevDiv Build Lab - Dev14 25022e93d3 Localization - Translated Strings (#5472)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-12 13:35:26 -07:00
Bob Brown 17ddec484a Merge pull request #5466 from microsoft/bobbrow/downgradeFix
Fix a bug with downgrading
2020-05-11 20:29:46 -07:00
Bob Brown (DEVDIV) a4535a9feb Fix a bug with downgrading 2020-05-11 17:32:10 -07:00
csigsandDevDiv Build Lab - Dev14 7b2eb67be9 Localization - Translated Strings (#5459)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-11 09:26:54 -07:00
Sean McManus 1fbbd6be51 Updates for 0.28.0. (#5446)
* Updates for 0.28.0.
* Update string.
* Update TPN.
2020-05-08 20:43:18 -07:00
Sean McManus 7ab06da098 Fix online vsix error message. (#5443) 2020-05-08 17:08:15 -07:00
Sean McManus c71c100efb Merge pull request #5442 from microsoft/seanmcm/0_28_0_shell
Change C/C++ taskSourceStr to shell.
Fixes https://github.com/microsoft/vscode-cpptools/issues/5388
2020-05-08 14:48:18 -07:00
Sean McManus 1d4371268c Update change. Change min Insiders version back to 1.42.1. 2020-05-08 14:40:51 -07:00
Sean McManus 66a62b36a7 Update changelog. 2020-05-08 14:34:02 -07:00
Sean McManus c74908f4ae Change C/C++ taskSourceStr to shell. 2020-05-08 13:13:14 -07:00
csigsandDevDiv Build Lab - Dev14 fde1427e44 Localization - Translated Strings (#5440)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-08 10:21:15 -07:00
Sean McManus 255ecac866 Merge pull request #5438 from microsoft/seanmcm/0_28_0_release
Merge for 0_28_0 release
2020-05-07 19:53:56 -07:00
Sean McManus f97729a8cb Merge. 2020-05-07 19:36:43 -07:00
Sean McManus d6a9927435 Merge pull request #5436 from microsoft/seanmcm/0_27_1_cherryPick
Cherry pick "Disable Insiders updates for unsupported cases."
Other minor changes to.
2020-05-07 19:32:18 -07:00
Sean McManus 39af7295d5 Upgrade yargs-parser. 2020-05-07 19:23:18 -07:00
Sean McManus 7906500259 Fix bad merge. 2020-05-07 19:09:28 -07:00
Sean McManus a62cb72ca6 Merge branch 'master' into seanmcm/0_27_1_cherryPick 2020-05-07 19:02:05 -07:00
Sean McManus 48f90bd944 Changelog for 0.28.0. (#5437) 2020-05-07 19:01:47 -07:00
Sean McManus 61fca7feeb Change insider requirement to 1.44. 2020-05-07 18:59:21 -07:00
Sean McManus af92309090 Disable Insiders updates for unsupported cases. (#5371)
* Disable Insiders updates for unsupported cases.
2020-05-07 18:35:39 -07:00
Sean McManus c295ad8a64 Merge. 2020-05-07 18:34:21 -07:00
Michelle Matias 55aaeccc36 Delete temporary VSIX created during installation (#5422) 2020-05-07 17:39:55 -07:00
Colen Garoutte-Carson 9e3eecc9af Add setting to enable/disable code folding provider (#5435) 2020-05-07 17:28:47 -07:00
5fe62db314 add new error message for Custom config provider extension users (#5406)
* add new error message

* add error to the end of the list

* add new error message with no squiggles

* adding more info to the error message

Co-authored-by: Elaheh Rashedi <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
Co-authored-by: Bob Brown <[email protected]>
2020-05-07 15:26:41 -07:00
Bob Brown 40ac9fd074 Merge pull request #5399 from microsoft/elrashed/4121
Change C_Cpp.clang_format_path to be scope machine-overridable
2020-05-07 14:12:55 -07:00
csigsandDevDiv Build Lab - Dev14 8168a12737 Localization - Translated Strings (#5432)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-07 10:35:10 -07:00
Colen Garoutte-Carson ef120e8313 Add telemetry event for main process crashes (#5425) 2020-05-06 17:46:39 -07:00
Sean McManus fd200daff1 Fix Find All Refs status. (#5420) 2020-05-06 17:31:07 -07:00
Michelle Matias 552c86c98b Add ARM IntelliSenseMode options to default settings (#5423) 2020-05-06 17:02:12 -07:00
csigsandDevDiv Build Lab - Dev14 9b2c34b7b9 Localization - Translated Strings (#5419)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-05-06 14:05:50 -07:00
Colen Garoutte-Carson bc5002041c Default registration of callbacks until settings have been processed (#5412) 2020-05-05 13:18:00 -07:00
csigs 5767a5e19d Localization - Translated Strings (#5407) 2020-05-04 12:47:52 -07:00
Elaheh Rashedi dbc0d90158 adding clang-format-style and fallback-style 2020-05-01 16:39:05 -07:00
Elaheh Rashedi 4ce4631167 machine_overridable 2020-05-01 16:04:21 -07:00
Elaheh Rashedi fc57be8d9d Change C_Cpp.clang_format_path machine-overridable 2020-05-01 12:27:05 -07:00
Sean McManus 8292868a86 0.28.0-insiders2 changelog. (#5394) 2020-04-30 18:40:20 -07:00
Sean McManus 1b38713e30 Fix "" compilerPath. (#5393) 2020-04-30 17:34:14 -07:00
Sean McManus b31e464d95 String update. (#5390) 2020-04-30 14:02:52 -07:00
csigsandDevDiv Build Lab - Dev14 ba4825c00e Localization - Translated Strings (#5387)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-30 10:34:50 -07:00
Michelle Matias 50a82baaff Add GNU standards and C18 standard for querying compiler (#5321) 2020-04-29 13:10:22 -07:00
csigsandDevDiv Build Lab - Dev14 53970a6351 Localization - Translated Strings (#5378)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-29 11:23:40 -07:00
Sean McManus a88ca881ad Disable Insiders updates for unsupported cases. (#5371)
* Disable Insiders updates for unsupported cases.
2020-04-28 14:41:01 -07:00
4216aa4605 check offline/insiders VSIX (#5341)
* check offline/insiders VSIX

* draft

* add offline url, modify warning message

* check offline/insiders VSIX

* draft

* add offline url, modify warning message

* modify warning message

* fix reviewers comments

* changing the approach to determine the platform

* fixing the integration test

* testing

Co-authored-by: Elaheh Rashedi <[email protected]>
Co-authored-by: Bob Brown <[email protected]>
2020-04-28 13:07:58 -07:00
Sean McManus 118bed15b6 Attempt to fix c_cpp_properties resetting. (#5368) 2020-04-28 12:40:35 -07:00
csigsandDevDiv Build Lab - Dev14 c9f46cc19f Localization - Translated Strings (#5373)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-28 10:48:42 -07:00
Michelle Matias 3efc997fcc valid cl/clang-cl and msvc intellisensemode 2020-04-27 16:43:17 -07:00
Sean McManus 6b0ab5ef37 Add changelog. (#5369) 2020-04-27 14:09:00 -07:00
Sean McManus 3b1284196a Update changelog for 0.28.0-insiders (#5359)
* Update changelog for 0.28.0-insiders
2020-04-24 16:43:56 -07:00
Sean McManus 58c50dc38b Remove some 32-bit Linux stuff. (#5357) 2020-04-24 13:31:19 -07:00
Sean McManus 4980ff732a Update for 3 assets (no more 32-bit Linux) (#5350) 2020-04-23 16:44:59 -07:00
Sean McManus abc19f357c Fix onFileSystem activation. (#5355) 2020-04-23 16:33:41 -07:00
Colen Garoutte-Carson c6017ef418 Code Folding (#5307) 2020-04-22 21:39:38 -07:00
Michelle Matias 820a82293c Update readme: add GCC Linux tutorial and deprecate Linux 32bit (#5348) 2020-04-22 18:31:25 -07:00
ddbf7a3dd7 insiders update/downgrade improvements (#5309)
* add test, no warning yet

* check for the assets, add more test

* addd test for Default channel

* fix spelling srrors

* update Default chanel tests

Co-authored-by: Elaheh Rashedi <[email protected]>
Co-authored-by: Sean McManus <[email protected]>
2020-04-21 13:56:43 -07:00
csigsandDevDiv Build Lab - Dev14 c5946e2f08 Localization - Translated Strings (#5339)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-21 10:26:53 -07:00
Pierson Lee eb9da46a83 Adding the arm/arm64 packages for mono runtime (#5064)
* Adding the arm/arm64 packages for mono runtime

Adding the arm/arm64 packages for the mono runtime. This is to enable
remote-ssh extension debugging.

* Undo activate change

* Fix lint error

* Remove vsce dependency
2020-04-20 17:11:22 -07:00
Sean McManus 0d0e0042de Fix duplicate config squiggles. (#5323) 2020-04-20 11:35:38 -07:00
csigsandDevDiv Build Lab - Dev14 7a0d5feefc Localization - Translated Strings (#5330)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-20 10:36:30 -07:00
Sean McManus 2a8a60b9ad Fix path not a directory in "env" (#5320)
* Remove path is not a directory squiggle for env.
2020-04-17 14:57:09 -07:00
csigsandDevDiv Build Lab - Dev14 c5463c6c20 Localization - Translated Strings (#5317)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-17 11:18:27 -07:00
Sean McManus 26911f91b4 Fix cpptools restarting. (#5305)
* Fix cpptools restarting.
2020-04-16 20:44:20 -07:00
csigsandDevDiv Build Lab - Dev14 418e1fc177 Localization - Translated Strings (#5312)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-16 10:58:41 -07:00
csigsandDevDiv Build Lab - Dev14 0b4a761875 Localization - Translated Strings (#5300)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-15 10:44:10 -07:00
csigsandDevDiv Build Lab - Dev14 fdfc1b7ca6 Localization - Translated Strings (#5234)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-04-10 17:41:45 -07:00
Michelle Matias 4c7ddbcf62 Update IntelliSense Features E2E tests (#5281) 2020-04-10 15:46:35 -07:00
Sean McManus 07bb7dd411 Remove workaround for v3 providers. (#5263)
* Remove workaround for v3 providers.
2020-04-09 19:46:33 -07:00
Elaheh Rashedi 38d49bf23a modify nativeString.json (#5260)
bugfix: https://github.com/microsoft/vscode-cpptools/issues/5160
2020-04-07 13:04:33 -07:00
Michelle Matias a037a70449 Add ARM IntelliSenseModes (#5250) 2020-04-06 17:35:48 -07:00
Sean McManus c268e8a2a7 Fix test linter issues. (#5252)
* Fix test linter issues.
* Add .eslintignore.
2020-04-06 15:36:42 -07:00
Sean McManus e420f54746 Update mocha/diff. (#5251) 2020-04-06 13:06:36 -07:00
Sean McManus ac2398d987 Use autoDetect problemMatcher. (#3916) 2020-04-03 12:15:13 -07:00
Colen Garoutte-Carson 82d462fef7 Update engine version to match vscode/types (#5249) 2020-04-03 10:43:23 -07:00
Colen Garoutte-Carson 289562e442 Remove Rename UI in favor of new WorkspaceEdit Preview API (#5133) 2020-04-01 16:26:22 -07:00
Elaheh Rashedi 873775aafe define path delimiter based on windows/mac config (#5229)
* define path delimiter based on windows/mac config
https://github.com/microsoft/vscode-cpptools/issues/3940
2020-04-01 12:00:42 -07:00
Sean McManus 941d31ce91 Fix error string. (#5195) 2020-03-31 17:48:11 -07:00
Sean McManus dd174e241d Update fwlinks (#5231)
* Update version and fwlinks.
2020-03-31 17:06:45 -07:00
Sean McManus 03bed1c17c New IntelliSense error messages. (#5214) 2020-03-31 16:51:57 -07:00
Elaheh Rashedi e2e1868270 fix Bug 5124, adding namespace indent
* fix Bug 5124, adding namespace indent
https://github.com/microsoft/vscode-cpptools/issues/5124
2020-03-30 10:09:43 -07:00
Sean McManus 9ea6727743 Merge pull request #5218 from microsoft/seanmcm/0_27_0_release_merge2
Seanmcm/0 27 0 release merge2
2020-03-27 18:26:11 -07:00
Sean McManus bd1f66b411 Merge branch 'release' into seanmcm/0_27_0_release_merge2 2020-03-27 18:14:51 -07:00
Sean McManus a8ade55826 Update changelog for 0.27.0. (#5216)
* Update changelog for 0.27.0.
2020-03-27 17:29:34 -07:00
Sean McManus 913ddf4785 Fix incorrect compiler path with spaces and args squiggle. (#5217)
* Fix invalid `c_cpp_properties.json` and configuration UI warning `Compiler path with spaces and arguments is missing double quotes`.
2020-03-27 17:02:53 -07:00
Sean McManus c5be0b55c7 Merge pull request #5205 from microsoft/seanmcm/0_27_0_release_merge
Seanmcm/0 27 0 release merge
2020-03-26 14:07:45 -07:00
Sean McManus e8080fc86f Merge branch 'seanmcm/0_27_0_release_merge' of https://github.com/Microsoft/vscode-cpptools into seanmcm/0_27_0_release_merge 2020-03-26 13:45:08 -07:00
Sean McManus 579e4db42b Merge. 2020-03-26 13:44:36 -07:00
Sean McManus eba352eb07 Update changelog. (#5206) 2020-03-26 13:41:58 -07:00
Sean McManus 16bc8f6e5d Merge branch 'release' into seanmcm/0_27_0_release_merge 2020-03-26 13:16:05 -07:00
Andrew WangandSean McManus 05014a36c3 Add darwin OS version change check for lldb-mi (#5197)
If the darwin version changes and is upgraded to Mojave or higher, users
will need to use ./debugAdapters/lldb-mi. These changes will cleanup the
old files and cause the online installation process to run again.

Co-authored-by: Sean McManus <[email protected]>
2020-03-26 12:32:52 -07:00
Sean McManus 276e095d2c Update changelog. (#5199)
* Update changelog.
2020-03-26 12:13:02 -07:00
Sean McManus 208f28bfd6 Update some dependencies. (#5198) 2020-03-26 11:28:54 -07:00
Elaheh Rashedi 3f09f608a9 fix for validating cl compiler path (#5196)
bug fix 5151
2020-03-25 17:20:26 -07:00
Sean McManus b5fc4cc9b2 Fix crash with a workspace with no folders. (#5193) 2020-03-25 15:26:04 -07:00
Sean McManus 4062d86dff Fix databse when no folder is open. (#5186) 2020-03-24 17:59:37 -07:00
Sean McManus b7c0624369 Fix updateChannel being settable per workspace. (#5185) 2020-03-24 15:40:42 -07:00
csigsandDevDiv Build Lab - Dev14 9697ee65f0 Localization - Translated Strings (#5179)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-03-24 10:18:14 -07:00
Michelle Matias 155ed2b669 fix version filtering (#5175) 2020-03-23 17:57:31 -07:00
Sean McManus 6c4080832b Seanmcm/0 27 0 insider4 changelog2 (#5172)
* Update changelog.
2020-03-23 14:48:36 -07:00
Sean McManus 882b62c25b Fix package.json activation events. (#5173) 2020-03-23 14:40:37 -07:00
Sean McManusandAndrew Wang 5878686eac Add cleanUnusedBinaries stage (#5170)
Our offline installer will include two versions of lldb.
./debugAdapters/lldb is lldb-mi 3.8 and is used for High-Sierra and older
./debugAdapters/lldb-mi is lldb-mi 10.x and is used for Mojave and
higher.

Co-authored-by: Andrew Wang <[email protected]>
2020-03-23 14:39:20 -07:00
Andrew Wang 9b2c568db5 Add cleanUnusedBinaries stage (#5153)
Our offline installer will include two versions of lldb.
./debugAdapters/lldb is lldb-mi 3.8 and is used for High-Sierra and older
./debugAdapters/lldb-mi is lldb-mi 10.x and is used for Mojave and
higher.
2020-03-23 13:10:38 -07:00
Sean McManus f87944a72a Merge pull request #5158 from microsoft/seanmcm/0_27_0_insiders4_merge
Seanmcm/0 27 0 insiders4 merge
2020-03-20 17:26:01 -07:00
Sean McManus 5986aee6da Fix search.exclude for Go to Symbol in Workspace (#5101)
* Fix workspace folder settings bug: https://github.com/microsoft/vscode-cpptools/issues/5134
* Fix bug with rescan folder getting called once per workspace folder.
* Update changelog.
2020-03-19 18:49:32 -07:00
Colen Garoutte-Carson 2ffd9210d2 Use optional arg in client constructor instead of | undefined (#5140) 2020-03-17 13:39:28 -07:00
csigs de6ddc2440 Localization - Translated Strings (#5111) 2020-03-17 11:03:50 -07:00
Sean McManus 70944b6352 Fix workspace folder settings being incorrect. (#5135) 2020-03-16 20:14:32 -07:00
Colen Garoutte-Carson 0c9e000a4f Fix open file scenario bugs due to struct null changes (#5137) 2020-03-16 19:28:05 -07:00
dependabot[bot] 2091cc2614 Bump minimist from 1.2.0 to 1.2.2 in /Extension (#5132) 2020-03-16 16:29:56 -07:00
Colen Garoutte-Carson 927d2bb9e6 Fix some settings so they are editable in settings UI (#5126) 2020-03-16 15:37:09 -07:00
Colen Garoutte-Carson 502eb84116 Undo bad fix for check in getVcpkgRoot (#5116) 2020-03-13 16:58:26 -07:00
Colen Garoutte-Carson 1c8b8f4d6d Fix error when renaming (#5114) 2020-03-13 16:36:32 -07:00
Colen Garoutte-Carson 399e8ad1db Remove use of tilde from setting descriptions (#5108) 2020-03-12 22:14:17 -07:00
Sean McManus 8e0a0792b8 Merge pull request #5106 from microsoft/seanmcm/0_27_0_merge
0_27_0 merge to release
2020-03-12 14:57:51 -07:00
Sean McManus 6712181c45 Merge. 2020-03-12 14:11:19 -07:00
Sean McManus 940a720501 Update version. 2020-03-12 14:09:25 -07:00
csigsandDevDiv Build Lab - Dev14 5b68300c02 Localization - Translated Strings (#5104)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-03-12 10:16:52 -07:00
Sean McManus 5ef1d8db35 update 0 27 0 insiders3 changelog (#5098)
* More changelog entries.
2020-03-11 18:31:43 -07:00
Colen Garoutte-Carson 98ba6828cc Remove null default for intelliSenseCachePath (#5097) 2020-03-11 16:01:06 -07:00
Michelle Matias f1328840d2 Update issue language template (#5089) 2020-03-11 10:25:53 -07:00
csigsandDevDiv Build Lab - Dev14 f2eb925120 Localization - Translated Strings (#5094)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-03-11 10:15:32 -07:00
Sean McManus 80a293b83d 0 27 0 insiders3 changelog (#5088)
* Update changelog for 0.27.0-insiders3
2020-03-10 16:08:53 -07:00
Helloimbob 831f29c963 Optionally enable backtick command substitution for pickRemoteProcess (#5053)
* Backtick substiution
Co-authored-by: Thomas A. George <[email protected]>
2020-03-10 14:27:03 -07:00
Michelle Matias c648c1f56b Ask for logs for language service 2020-03-10 13:51:21 -07:00
Sean McManus 6cd03fc81b Update acorn dependencies. (#5087) 2020-03-10 13:08:16 -07:00
Sean McManus 6ece751d81 Fix debugger regressions. (#5086)
Fix null reference on call to "this.resolveEnvFile" ("this" was undefined) when doing Attach debugging.
2020-03-10 11:38:19 -07:00
csigsandDevDiv Build Lab - Dev14 7ca75be2ac Localization - Translated Strings (#5083)
Co-authored-by: DevDiv Build Lab - Dev14 <[email protected]>
2020-03-09 09:02:25 -07:00
Sean McManus d3020a39e9 Fix error after editing a document too early. (#5077) 2020-03-06 17:49:26 -08:00
Sean McManus 46335eb722 Fix bugs when c_cpp_properties.json doesn't exist. (#5065)
* Fix bugs when c_cpp_properties.json doesn't exist.
* Fix crash that sometimes occurs when switching color themes (with multiroot workspaces): https://github.com/microsoft/vscode-cpptools/issues/5063
2020-03-06 11:59:12 -08:00
Sean McManus bab6eff42f Minor telemetry change. (#5058) 2020-03-05 12:19:57 -08:00
Colen Garoutte-Carson f1bec1e564 Enable strictNullChecks (#5030) 2020-03-05 11:50:02 -08:00
Sean McManus 33a6b6699e Attempt to fix Mac crash telemetry. (#5056)
* Attept to fix Mac crash telemetry.
2020-03-04 14:56:15 -08:00
Sean McManus fc21920a65 Fix null reference in updateCustomBrowseConfiguration. (#5055)
* Fix null reference in updateCustomBrowseConfiguration.
2020-03-04 13:20:04 -08:00
Sean McManus d4910cc370 Fix the "Open File..." scenario (without a workspace folder) (#5054)
Fix the "Open File..." scenario (without a workspace folder)
2020-03-04 12:58:08 -08:00
Colen Garoutte-Carson 62222e592e Localization - Translated Strings (#5050) 2020-03-04 12:15:18 -08:00
Sean McManus e52fdd51da Fix C_Cpp.default.configurationProvider changes not taking effect. (#5043)
* Fix C_Cpp.default.configurationProvider changes not taking effect.
2020-03-03 12:53:09 -08:00
csigs dfe7ff348f Localization - Translated Strings (#5046) 2020-03-03 09:46:12 -08:00
Sean McManus 8f79cfae66 Fix bug with multiroot persistent folder states. (#5042) 2020-03-02 18:26:16 -08:00
csigs e0253a5f15 Localization - Translated Strings (#5037) 2020-03-02 10:01:22 -08:00
Colen Garoutte-Carson 8dbb12554c Fix issue with onDidChangeSettings never returning changed settings (#5026) 2020-02-27 18:15:52 -08:00
Sean McManus 8e7c8357ac Fix settings not getting sent after add folder. (#5021) 2020-02-27 16:41:17 -08:00
Colen Garoutte-Carson 5567e3abd8 Fix issue with cancellation of rename (#5025) 2020-02-27 16:14:31 -08:00
csigs 8aac4eccb1 [Auto] Localization - Translated Strings (#5017) 2020-02-27 10:13:04 -08:00
Sean McManus cfd09cf9e6 Update changelog. (#5016)
* Update changelog.
2020-02-26 18:26:44 -08:00
Colen Garoutte-Carson cda9491ffa Fix setting name for intelliSenseEngineFallback (#5015) 2020-02-26 17:08:20 -08:00
Sean McManus ffa9ca3249 Fix config switching after adding folder. (#5010) 2020-02-26 14:53:49 -08:00
csigs b83519cdd2 Localization - Translated Strings (#5013) 2020-02-26 10:14:50 -08:00
Colen Garoutte-Carson 51f7d1e5e1 Address issue with wrong problem matcher added to tasks.json (#5008) 2020-02-25 18:04:32 -08:00
Colen Garoutte-Carson 0f089261af Switch to returning CodeActions from CodeActionProvider (#5007) 2020-02-25 17:10:37 -08:00
Sean McManus 1041278dca New multi-root (#4809)
Adds multiroot support for a single language server process.

Instead of a single settings and cpp_properties objects, there are one per workspace folder.
There is a single browse database, but multiple browse-related settings (e.g. for per-folder files.exclude), so workspace parsing operates with a separate pass per workspace folder.
2020-02-25 13:47:41 -08:00
Colen Garoutte-Carson b77eee9197 Localize 'build and debug active file' (#5006) 2020-02-25 13:27:59 -08:00
csigs e5bf202d4f Localization - Translated Strings (#5004) 2020-02-25 10:00:36 -08:00
csigs 0e45efcfc1 Localization - Translated Strings (#5002) 2020-02-24 17:55:49 -08:00
Andrew Wang af8cf554a5 Validate dependencies for lldb-mi (#4911)
If a user does not provide a custom lldb-mi on macOS running in LLDB
mode. We check to see if the XCode/XCode CLI LLDB.framework dependencies
exist.

Also adds both LLDB-MI Package based on versionRegex

This PR also adds in PlatformInfo.version and IPackage.versionRegex and
IPackage.matchVersion.

Currently only darwin PlatformInfo.version is set since only the LLDB-MI
package utilizes IPackage.versionRegex and matchVersion.

The LLDB-MI 3.8 package is used for High Sierra and lower and the newer
lldb-mi is used for Mojave and higher
2020-02-21 11:24:16 -08:00
Michelle Matias 3c6438c12f update loc for Feb 20 FI (#4993) 2020-02-20 16:49:50 -08:00
Colen Garoutte-Carson a8285cbc0e Prompt again for provider if config is cleared (#4987) 2020-02-19 17:18:32 -08:00
Colen Garoutte-Carson 8fa7cbbde2 Get a stable yarn lock (#4986) 2020-02-19 13:05:26 -08:00
Colen Garoutte-Carson 548d6a82d4 Migrate from TSLint to ESLint (#4974) 2020-02-18 14:33:26 -08:00
Colen Garoutte-Carson 764b1d143a Use system installed clang-format only if newer, or bundled version is not executable (#4968) 2020-02-14 13:29:54 -08:00
csigs d59bad705f Localization - Translated Strings (#4973) 2020-02-14 09:30:17 -08:00
csigs 28b567ca8e Localization - Translated Strings (#4964) 2020-02-13 09:55:57 -08:00
Michelle Matias cd73fb3755 Initial E2E IntelliSense Features tests (#4856) 2020-02-12 17:06:00 -08:00
Andrew Wang 772b7f948e Create .yml for building LLDB-MI (#4910)
Add build for LLDB-MI
2020-02-12 13:38:43 -08:00
Colen Garoutte-Carson 0225a566e9 Remove knownCompilers from Configuration interface, entirely (#4960) 2020-02-12 12:35:50 -08:00
Colen Garoutte-Carson da17ded7fa Remove knownCompilers if found in c_cpp_properties.json (#4956) 2020-02-12 10:04:07 -08:00
csigs 823b5879eb Localization - Translated Strings (#4952) 2020-02-11 16:53:33 -08:00
Colen Garoutte-Carson 60847b3962 Handle missing assert in getVsixDownloadUrl (#4951) 2020-02-10 13:43:26 -08:00
Colen Garoutte-Carson 0d91db0e06 Undo settings renames (#4938) 2020-02-10 09:50:05 -08:00
csigs 3fa056f4d5 Localization - Translated Strings (#4937) 2020-02-07 16:54:37 -08:00
csigs 05f2b24011 Localization - Translated Strings (#4923) 2020-02-04 10:20:42 -08:00
Colen Garoutte-Carson 2f0c3fddd3 Update fw links for clang-format (#4918) 2020-02-03 19:49:36 -08:00
csigs 21c8d54373 Localization - Translated Strings (#4915) 2020-01-30 11:40:15 -08:00
aleksey-sergey 2aeb48d722 add support for a new command: cpptools.setActiveConfigName (#4893)
* add support for a new command: cpptools.setActiveConfigName

Command allows other extensions to control activeConfigName

* post review fix: localized config-name-not-found message
2020-01-29 18:46:37 -08:00
Colen Garoutte-Carson bf2802e4e4 Rename various settings (#4907) 2020-01-29 18:33:26 -08:00
Colen Garoutte-Carson e01071a625 Fix issue with disabled compiler path in config UI if none detected (#4912) 2020-01-29 18:32:59 -08:00
csigs 4a8802a38d Localization - Translated Strings (#4906) 2020-01-28 09:52:22 -08:00
csigs 631ecff716 Localization - Translated Strings (#4903) 2020-01-27 09:42:53 -08:00
Colen Garoutte-Carson 997161f862 Avoid unrecognized uri schemes when processing open/visible file event (#4896) 2020-01-24 16:33:07 -08:00
csigs 3cbc918860 Localization - Translated Strings (#4895) 2020-01-24 09:45:07 -08:00
csigs 4f24cafb45 Localization - Translated Strings (#4886) 2020-01-23 18:23:23 -08:00
Colen Garoutte-Carson 0122819f26 Update fwlinks (#4892) 2020-01-23 17:57:38 -08:00
Colen Garoutte-Carson 2b1054bf41 rename native binaries (#4882) 2020-01-23 12:34:04 -08:00
Colen Garoutte-Carson 53d65fd430 Move all webpacked dependencies to devDependencies (#4884) 2020-01-22 17:26:06 -08:00
Colen Garoutte-Carson 79e0d487d0 Remove unused script (#4883) 2020-01-22 15:59:35 -08:00
csigs 13f740ed99 Localization - Translated Strings (#4880) 2020-01-22 09:51:41 -08:00
Sean McManus 211e497a89 Merge pull request #4876 from microsoft/seanmcm/0_26_3_release
Seanmcm/0 26 3 release
2020-01-21 17:46:50 -08:00
Sean McManus f04ee43425 Merge branch 'release' into seanmcm/0_26_3_release 2020-01-21 16:52:34 -08:00
Sean McManus 3c9c1f1622 Merge changelog for 0.26.3. (#4874)
* Merge changelog for 0.26.3.
* Update TPN.
2020-01-21 16:50:25 -08:00
Michelle Matias cc1998c1d6 Add back statusChangedEvent (#4860) 2020-01-17 12:30:05 -08:00
Andrew Wang 223f63036c Update Changelog for MIEngine (#4858)
* Update Changelog for MIEngine
2020-01-16 16:49:53 -08:00
Colen Garoutte-Carson 2ece201c00 Update changelog for 0.26.3-insiders4: (#4857)
* Update changelog
Authored-by: Colen Garoutte-Carson <[email protected]>
2020-01-16 15:23:41 -08:00
Colen Garoutte-Carson fe8245fbab Look for clang-format installed on system before defaulting to bundled version (#4855) 2020-01-16 15:04:01 -08:00
Colen Garoutte-Carson 419d5c1316 Fix issue with didOpen processed before initial custom browse config (#4846) 2020-01-15 14:16:38 -08:00
Sean McManus e61c360bab Fix no compiler found when compilerPath isn't set. (#4844) 2020-01-13 21:37:49 -08:00
Colen M. Garoutte-Carson d479d79c36 Revert "Fix issue with didOpen processed before initial custom browse config"
This reverts commit 1bddf02180.
2020-01-13 20:12:18 -08:00
Colen M. Garoutte-Carson 1bddf02180 Fix issue with didOpen processed before initial custom browse config 2020-01-13 20:08:16 -08:00
Michelle Matias acdd5ca9d2 Merge pull request #4820 from microsoft/mimatias/test-timeout-fix
Fix integration tests timeouts and events
2020-01-10 16:15:30 -08:00
Michelle Matias 09ba872c38 update yarn.lock file 2020-01-10 15:04:33 -08:00
Michelle Matias d790c6fd4d clean up 2020-01-10 15:04:15 -08:00
Michelle Matias 2b58af166a remove unused imports. sleep for file watcher 2020-01-10 14:40:52 -08:00
Michelle Matias 6e043a77bc change timeout 2020-01-10 14:25:19 -08:00
Michelle Matias aa8e0ce62e remove call to getActiveClient() from tests 2020-01-10 14:19:55 -08:00
Michelle Matias 36e4b13232 add temp logging to debug timeout cause 2020-01-10 10:12:03 -08:00
Michelle Matias 63bfb423b4 Merge branch 'master' into mimatias/test-timeout-fix 2020-01-09 22:19:40 -08:00
Colen Garoutte-Carson cb31a0d840 Update yarn lock and remove a resolution that is no longer needed. (#4830) 2020-01-09 18:15:56 -08:00
Michelle Matias ac7d437d33 use new CppToolsTestHook event 2020-01-09 15:46:58 -08:00
Michelle Matias d41698455e remove debugging logs 2020-01-09 14:02:23 -08:00
Michelle Matias 91f4dbb10a Update testHook api 2020-01-09 13:43:10 -08:00
Sean McManus adc9892578 Update changelog. (#4825) 2020-01-08 15:58:10 -08:00
Colen Garoutte-Carson 9ece80f6d8 Fix issue with files in the database getting unnecessarily removed on startup with a configuration provider (#4821) 2020-01-08 00:44:32 -08:00
Michelle Matias 78b09612e9 increase default timeout 2020-01-07 17:26:55 -08:00
Michelle Matias 501df6ea8c add logging 2020-01-07 13:41:53 -08:00
Michelle Matias 26a83985f4 log intellisense update 2020-01-07 12:06:29 -08:00
Michelle Matias 8f137f9842 increase timeout for extensibility tests v1 2020-01-07 11:47:57 -08:00
Michelle Matias c2eabf1274 remove timeout for one check 2020-01-07 11:36:44 -08:00
Michelle Matias 5059a45aab increase timeout value 2020-01-06 17:29:52 -08:00
csigs fb1ca8ffa8 Localization - Translated Strings (#4738) 2020-01-06 11:06:59 -08:00
Sean McManus c5e6699421 Fix bug with Insider installation. (#4767)
Fix for #3874 .
This was also causing my previous "downgrade" fix to fail: #4760
2019-12-18 18:11:40 -08:00
Sean McManus 297bada947 Fix Insider channel not auto-downgrading after an Insider vsix is unpublished. (#4765)
* Fix Insider channel not auto-downgrading after an Insider vsix is unpublished.
2019-12-18 14:54:52 -08:00
Sean McManus 336c529fe8 Updating changelog. (#4750) 2019-12-16 15:44:15 -08:00
Enna1 de14a285a4 Update package.json (#4734)
Fix missing description of "C_Cpp.clang_format_style" configuration property
2019-12-12 15:34:39 -08:00
Colen Garoutte-Carson b428ff154f Coleng/update changelog (#4728) 2019-12-10 17:28:18 -08:00
Sean McManus 8cd858f5f5 Update loc and json versions. (#4709)
* Update loc and json versions.
* Minor TPN change.
2019-12-06 13:30:30 -08:00
Colen Garoutte-Carson 3f66cb5c59 Fix security issue with serialize-javascript. Updating yarn.lock (#4710) 2019-12-05 13:53:26 -08:00
dx-coding b18f561724 Update common.ts (#4658) 2019-12-05 13:06:40 -08:00
Michelle Matias d651a3b898 prep for 0.26.3 (#4690) 2019-12-05 12:57:59 -08:00
csigs d66482a115 Localization - Translated Strings (#4706) 2019-12-05 12:48:34 -08:00
csigs 59f25f8636 Localization - Translated Strings (#4700) 2019-12-04 10:09:47 -08:00
Colen Garoutte-Carson 11a2c04008 Fix issue in which source file selection for header TU's does not occur when reconfiguring custom config provider (#4671) 2019-12-03 10:45:07 -08:00
csigs d3dd19e26f Localization - Translated Strings (#4694) 2019-12-03 10:10:01 -08:00
Michelle Matias 8a4bfa2183 Merge pull request #4689 from microsoft/mimatias/master-26-2
Merge for 0.26.2
2019-12-02 14:57:18 -08:00
Michelle Matias 4edd43062c change log for 26.2 (#4688) 2019-12-02 14:47:18 -08:00
Colen Garoutte-Carson 1523516673 Update changelog. Other misc. (#4659) 2019-11-25 16:27:34 -08:00
Colen Garoutte-Carson 8e1006d78d Add new strings for bitness fallback (#4656) 2019-11-22 16:27:58 -08:00
Colen Garoutte-Carson 922ac06e2d correct spelling in changelog (#4651)
Does not build.  Bypassing checks.
2019-11-21 17:05:13 -08:00
Colen Garoutte-Carson 33f2d606e7 Update changlog. Push out 1 day. (#4650)
Bypassing checks, as file does not build.
2019-11-21 16:52:31 -08:00
Colen Garoutte-Carson 2300e38645 Update changelog for 0.26.2-insiders2 (#4648) 2019-11-21 13:40:58 -08:00
Colen Garoutte-Carson d362ef9814 Add strings for m32/m64 compiler fallback (#4644) 2019-11-21 12:30:17 -08:00
csigs f3b5c507d8 Localization - Translated Strings (#4641) 2019-11-20 10:24:02 -08:00
Colen Garoutte-Carson f6a2a65474 Make closeRenameUI safe to call even if Rename UI was never opened (#4640) 2019-11-20 10:02:57 -08:00
Colen Garoutte-Carson e2213568f3 Extend .C handling to .H files as well (#4639) 2019-11-20 09:53:56 -08:00
csigs e18d53e7ba Localization - Translated Strings (#4634) 2019-11-19 14:02:24 -08:00
Colen Garoutte-Carson 6f76898110 Address issue with TU not being created for file already open when activated (#4621) 2019-11-15 17:16:10 -08:00
Colen Garoutte-Carson 95f8f11dc4 Fix casing of locale IDs for Chinese languages (#4620) 2019-11-15 16:11:04 -08:00
Colen Garoutte-Carson fcf2090ffd Sort files in FAR and Rename UI (#4616) 2019-11-15 14:40:34 -08:00
csigs 59c90611c4 Localization - Translated Strings (#4604) 2019-11-14 09:59:50 -08:00
Bob Brown c6af5ce8b5 Merge pull request #4601 from microsoft/coleng/merge_release
Merge master into release, up to 0.26.2-insiders
2019-11-14 09:28:48 -08:00
Colen Garoutte-Carson 014f30e942 Merge commit 'f0c961aa734df9fb2ca7d49649cd06b1f4e07a11' into release 2019-11-13 12:37:31 -08:00
csigs 7b4288c6f4 Localization - Translated Strings (#4599)
Bypassing validation as these are just string changes, not code changes.
2019-11-13 11:27:44 -08:00
Colen Garoutte-Carson d3263a187e Defer TU creation until editor for the file is visible in the UI. (#4593) 2019-11-13 11:26:59 -08:00
csigs f0c961aa73 Localization - Translated Strings (#4591) 2019-11-12 10:10:32 -08:00
Colen Garoutte-Carson 2c436f94b0 Update intelliSenseCachePath description. Update changelog (#4589)
Code has not changed.  Bypassing validation.
2019-11-11 17:48:28 -08:00
Sean McManus 2fd3214300 Merge pull request #4585 from trxcllnt/enable-cuda-breakpoints
enable breakpoints set in cu and cuh files
2019-11-11 17:33:34 -08:00
Sean McManus b33b1b3cc2 Merge branch 'master' into enable-cuda-breakpoints 2019-11-11 17:33:10 -08:00
Michelle Matias a9000a4c9d update change log for 0.26.2-insider (#4588) 2019-11-11 17:30:47 -08:00
Colen Garoutte-Carson a11b2aeb4d Support both provider ID's for cmake-tools (#4587) 2019-11-11 15:25:15 -08:00
ptaylor f31d641a13 add language:cuda entry to breakpoints list to enable breakpoints set in cu and cuh files 2019-11-11 11:20:14 -08:00
Colen Garoutte-Carson 1a7e9b9fd8 Add missing underscore to ASCII range in identifier validation (#4584) 2019-11-11 10:44:38 -08:00
csigs 2a8556df50 Localization - Translated Strings (#4583) 2019-11-11 10:13:30 -08:00
Colen Garoutte-Carson acf53d02a8 Update changelog for 0.26.2-insiders (#4574) 2019-11-08 17:57:24 -08:00
Colen Garoutte-Carson 0e43057f0f Add optional identifier validation to RenameProvider (#4546) 2019-11-08 14:50:06 -08:00
Sean McManus d2d20971a2 Merge pull request #4575 from microsoft/seanmcm/updateTPN
Minor TPN updates.
2019-11-08 13:16:34 -08:00
Sean McManus edf99c77a2 Minor TPN updates. 2019-11-08 12:35:29 -08:00
Colen Garoutte-Carson b88ca99a47 Fix issue with English schema files not being found (#4570) 2019-11-07 17:31:51 -08:00
csigs 23f214973f Localization - Translated Strings (#4566) 2019-11-07 10:13:06 -08:00
Colen Garoutte-Carson 7b1f093012 Fix issue in SchemaProvider that could occur if schema is in a subdirectory (#4545) 2019-11-06 15:54:34 -08:00
Michelle Matias f83f82db8a Fix squiggle config settings (#4538) 2019-11-06 11:39:13 -08:00
csigs 2da22041b5 Localization - Translated Strings (#4541) 2019-11-06 10:06:26 -08:00
csigs 2fe3961b23 Localization - Translated Strings (#4537) 2019-11-05 13:03:30 -08:00
Colen Garoutte-Carson b82a86e5e4 Ensure localized content output to JSON use escaped quotes (#4533) 2019-11-05 13:02:56 -08:00
Colen Garoutte-Carson 10224c1294 Update FW links (#4534)
Build is expected to fail until this is checked in, AND binaries are updated to new versions.  So, bypassing build check.
2019-11-04 13:09:05 -08:00
Colen Garoutte-Carson 7e3ff84d3b Improve TU selection (#4519) 2019-11-04 12:51:49 -08:00
csigs 4795a5e9bb Localization - Translated Strings (#4532) 2019-11-04 11:12:07 -08:00
Colen Garoutte-Carson 83092d7c00 Dismiss progress indicator when in Rename UI. Add error dialog when no symbol is found. (#4517) 2019-11-01 14:49:15 -07:00
450 changed files with 27743 additions and 11162 deletions
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Discussion or question
url: https://github.com/microsoft/vscode-cpptools/discussions/new
about: Please use our Discussions board to start a discussion or to ask a question.
+13 -9
View File
@@ -1,20 +1,22 @@
---
name: Debugger
about: Issues pertaining to debugging such as call stack, breakpoints, watch window,
name: Bug Report - Debugger
about: Create a bug report for debugging such as call stack, breakpoints, watch window,
launching or attaching to a debuggee.
title: ''
labels: ''
assignees: ''
---
Type: Debugger
<!----- Input information below ----->
Bug type: Debugger
<!--
**Prior to filing an issue, please review:**
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
<!-- Prior to creating a bug report, please review:
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
-->
**Describe the bug**
- OS and Version:
- VS Code Version:
@@ -22,6 +24,7 @@ Type: Debugger
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
**To Reproduce**
*Please include a code sample and `launch.json` configuration.*
Steps to reproduce the behavior:
@@ -30,6 +33,7 @@ Steps to reproduce the behavior:
3. Scroll down to '....'
4. See error
**Additional context**
*If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your `launch.json`*
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
+17
View File
@@ -0,0 +1,17 @@
---
name: Feature Request
about: Suggest an idea for this extension.
title: ''
labels: ''
assignees: ''
---
Type: Feature Request
<!-- Prior to creating a feature request, please review
existing issues at https://github.com/Microsoft/vscode-cpptools/issues
to avoid creating duplicates.
-->
<!-- Describe the feature you'd like. -->
+18 -12
View File
@@ -1,19 +1,21 @@
---
name: General Extension
about: Issues pertaining to downloading, installing, or building the extension.
name: Bug Report - General Extension
about: Create a bug report for downloading, installing, or building the extension.
title: ''
labels: ''
assignees: ''
---
Type: General
<!----- Input information below ----->
Bug type: General
<!--
**Prior to filing an issue, please review:**
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
<!-- Prior to creating a bug report, please review:
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
-->
**Describe the bug**
- OS and Version:
- VS Code Version:
@@ -21,6 +23,7 @@ Type: General
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
**To Reproduce**
*Please include code sample and `task.json` files.*
Steps to reproduce the behavior:
@@ -29,11 +32,14 @@ Steps to reproduce the behavior:
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
<!-- A clear and concise description of what you expected to happen. -->
**Screenshots**
If applicable, add screenshots to help explain your problem.
<!-- If applicable, add screenshots to help explain your problem. -->
**Additional context**
Add any other context about the problem here including log messages from the Output window.
<!-- Add any other context about the problem here including log messages from the Output window. -->
+38 -15
View File
@@ -1,42 +1,65 @@
---
name: Language Service
about: 'Issues pertaining to IntelliSense, autocomplete, code editing, etc. '
name: Bug Report - Language Service
about: 'Create a bug report for IntelliSense, autocomplete, code editing, code navigation, etc.'
title: ''
labels: ''
assignees: ''
---
**Type: LanguageService**
<!----- Input information below ----->
Bug type: Language Service
<!--
**Prior to filing an issue, please review:**
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
<!-- Prior to creating a bug report, please review:
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
-->
**Describe the bug**
- OS and Version:
- VS Code Version:
- C/C++ Extension Version:
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
- If using SSH remote, specify OS of remote machine:
- A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).
**To Reproduce**
<!-- Steps to reproduce the behavior: -->
<!-- *The most actionable issue reports include a code sample including configuration files such as c_cpp_properties.json* -->
**Steps to reproduce**
<!-- Provide clear steps to reproduce the bug: -->
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
**Code sample and logs**
<!-- Please provide code sample, your c_cpp_properties.json and logs. -->
- Code sample
- Configurations in `c_cpp_properties.json`
- Logs from running `C/C++: Log Diagnostics` from the VS Code command palette
- Logs from [the language server logging](https://code.visualstudio.com/docs/cpp/enable-logging-cpp#_enable-logging-for-the-language-server)
**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->
**Additional context**
<!--
* Call Stacks: For bugs like crashes, deadlocks, infinite loops, etc. that we are not able to repro and for which the call stack may be useful, please attach a debugger and/or create a dmp and provide the call stacks. Windows binaries have symbols available in VS Code by setting your "symbolSearchPath" to "https://msdl.microsoft.com/download/symbols".
* Add any other context about the problem here including log messages in your Output window ("C_Cpp.loggingLevel": "Debug" in settings.json).
Providing call stacks:
For bugs like crashes, deadlocks, infinite loops, etc. that we are not able to repro and for which the call stack may be useful, please attach a debugger and/or create a dmp and provide the call stacks. Windows binaries have symbols available in VS Code by setting your "symbolSearchPath" to "https://msdl.microsoft.com/download/symbols".
Instructions for attaching debugger to language service process:
https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv.
Performance analysis:
For a performance issue see instructions at https://github.com/microsoft/vscode-cpptools/wiki/Troubleshooting-Performance-Issues.
-->
+3
View File
@@ -0,0 +1,3 @@
# ignore dependency packages
node_modules
*.js.map
+43
View File
@@ -0,0 +1,43 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Locker = void 0;
const utils_1 = require("../common/utils");
const ActionBase_1 = require("../common/ActionBase");
class Locker extends ActionBase_1.ActionBase {
constructor(github, daysSinceClose, daysSinceUpdate, labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes) {
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes);
this.github = github;
this.daysSinceClose = daysSinceClose;
this.daysSinceUpdate = daysSinceUpdate;
}
async run() {
const closedTimestamp = utils_1.daysAgoToHumanReadbleDate(this.daysSinceClose);
const updatedTimestamp = utils_1.daysAgoToHumanReadbleDate(this.daysSinceUpdate);
const query = this.buildQuery((this.daysSinceClose ? `closed:<${closedTimestamp} ` : "") + (this.daysSinceUpdate ? `updated:<${updatedTimestamp} ` : "") + "is:closed is:unlocked");
for await (const page of this.github.query({ q: query })) {
await Promise.all(page.map(async (issue) => {
const hydrated = await issue.getIssue();
if (!hydrated.locked && hydrated.open === false && this.validateIssue(hydrated)
// TODO: Verify closed and updated timestamps
) {
console.log(`Locking issue ${hydrated.number}`);
await issue.lockIssue();
}
else {
if (hydrated.locked) {
console.log(`Issue ${hydrated.number} is already locked. Ignoring`);
}
else if (hydrated.open) {
console.log(`Issue ${hydrated.number} is open. Ignoring`);
}
}
}));
}
}
}
exports.Locker = Locker;
//# sourceMappingURL=Locker.js.map
+55
View File
@@ -0,0 +1,55 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { GitHub, Issue } from '../api/api'
import { daysAgoToHumanReadbleDate } from '../common/utils'
import { ActionBase } from '../common/ActionBase'
export class Locker extends ActionBase {
constructor(
private github: GitHub,
private daysSinceClose: number,
private daysSinceUpdate: number,
labels?: string,
milestoneName?: string,
milestoneId?: string,
ignoreLabels?: string,
ignoreMilestoneNames?: string,
ignoreMilestoneIds?: string,
minimumVotes?: number,
maximumVotes?: number
)
{
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes);
}
async run() {
const closedTimestamp = daysAgoToHumanReadbleDate(this.daysSinceClose)
const updatedTimestamp = daysAgoToHumanReadbleDate(this.daysSinceUpdate)
const query = this.buildQuery((this.daysSinceClose ? `closed:<${closedTimestamp} ` : "") + (this.daysSinceUpdate ? `updated:<${updatedTimestamp} ` : "") + "is:closed is:unlocked");
for await (const page of this.github.query({ q: query })) {
await Promise.all(
page.map(async (issue) => {
const hydrated = await issue.getIssue()
if (!hydrated.locked && hydrated.open === false && this.validateIssue(hydrated)
// TODO: Verify closed and updated timestamps
) {
console.log(`Locking issue ${hydrated.number}`)
await issue.lockIssue()
} else {
if (hydrated.locked) {
console.log(`Issue ${hydrated.number} is already locked. Ignoring`)
} else if (hydrated.open) {
console.log(`Issue ${hydrated.number} is open. Ignoring`)
}
}
}),
)
}
}
}
+33
View File
@@ -0,0 +1,33 @@
name: Locker
description: Lock closed issues and PRs after some time has passed
inputs:
token:
description: GitHub token with issue, comment, and label read/write permissions
default: ${{ github.token }}
daysSinceClose:
description: Days to wait since closing before locking the item
required: true
daysSinceUpdate:
description: days to wait since the last interaction before locking the item
required: true
milestoneName:
description: items with these milestones will be considered (name only, must match ID)
milestoneId:
description: items with these milestones will be considered (id only, must match name)
labels:
description: items with these labels will not be considered. May be "*".
ignoreMilestoneNames:
description: items with these milestones will not be considered (names only, must match IDs). May be "*".
ignoreMilestoneIds:
description: items with these milestones will not be considered (IDs only, must match names)
ignoreLabels:
description: items with these labels will not be considered
minimumVotes:
descriptions: Only issues with at least this many votes will be considered.
maximumVotes:
descriptions: Only issues fewer or equal to this many votes will be considered.
readonly:
description: If true, changes are not applied.
runs:
using: 'node12'
main: 'index.js'
+20
View File
@@ -0,0 +1,20 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../common/utils");
const Locker_1 = require("./Locker");
const Action_1 = require("../common/Action");
class LockerAction extends Action_1.Action {
constructor() {
super(...arguments);
this.id = 'Locker';
}
async onTriggered(github) {
await new Locker_1.Locker(github, +utils_1.getRequiredInput('daysSinceClose'), +utils_1.getRequiredInput('daysSinceUpdate'), utils_1.getInput('labels') || undefined, utils_1.getInput('milestoneName') || undefined, utils_1.getInput('milestoneId') || undefined, utils_1.getInput('ignoreLabels') || undefined, utils_1.getInput('ignoreMilestoneNames') || undefined, utils_1.getInput('ignoreMilestoneIds') || undefined, +(utils_1.getInput('minimumVotes') || 0), +(utils_1.getInput('maximumVotes') || 9999999)).run();
}
}
new LockerAction().run(); // eslint-disable-line
//# sourceMappingURL=index.js.map
+31
View File
@@ -0,0 +1,31 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { OctoKit } from '../api/octokit'
import { getInput, getRequiredInput } from '../common/utils'
import { Locker } from './Locker'
import { Action } from '../common/Action'
class LockerAction extends Action {
id = 'Locker'
async onTriggered(github: OctoKit) {
await new Locker(
github,
+getRequiredInput('daysSinceClose'),
+getRequiredInput('daysSinceUpdate'),
getInput('labels') || undefined,
getInput('milestoneName') || undefined,
getInput('milestoneId') || undefined,
getInput('ignoreLabels') || undefined,
getInput('ignoreMilestoneNames') || undefined,
getInput('ignoreMilestoneIds') || undefined,
+(getInput('minimumVotes') || 0),
+(getInput('maximumVotes') || 9999999)
).run()
}
}
new LockerAction().run() // eslint-disable-line
+72
View File
@@ -0,0 +1,72 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Reopener = void 0;
const ActionBase_1 = require("../common/ActionBase");
class Reopener extends ActionBase_1.ActionBase {
constructor(github, alsoApplyToOpenIssues, addLabels, removeLabels, reopenComment, setMilestoneId, labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes) {
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes);
this.github = github;
this.alsoApplyToOpenIssues = alsoApplyToOpenIssues;
this.addLabels = addLabels;
this.removeLabels = removeLabels;
this.reopenComment = reopenComment;
this.setMilestoneId = setMilestoneId;
}
async run() {
const addLabelsSet = this.addLabels ? this.addLabels.split(',') : [];
const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : [];
console.log(`alsoApplyToOpenIssues: ${this.alsoApplyToOpenIssues}`);
const query = this.buildQuery((this.alsoApplyToOpenIssues ? "" : "is:closed ") + "is:unlocked");
for await (const page of this.github.query({ q: query })) {
await Promise.all(page.map(async (issue) => {
const hydrated = await issue.getIssue();
if (!hydrated.locked && (this.alsoApplyToOpenIssues || hydrated.open === false) && this.validateIssue(hydrated)
// TODO: Verify closed and updated timestamps
) {
if (hydrated.open === false) {
console.log(`Reopening issue ${hydrated.number}`);
await issue.reopenIssue();
}
if (this.setMilestoneId != undefined) {
console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`);
await issue.setMilestone(+this.setMilestoneId);
}
if (removeLabelsSet.length > 0) {
for (const removeLabel of removeLabelsSet) {
if (removeLabel && removeLabel.length > 0) {
console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`);
await issue.removeLabel(removeLabel);
}
}
}
if (addLabelsSet.length > 0) {
for (const addLabel of addLabelsSet) {
if (addLabel && addLabel.length > 0) {
console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`);
await issue.addLabel(addLabel);
}
}
}
if (this.reopenComment) {
console.log(`Posting comment to issue ${hydrated.number}.`);
await issue.postComment(this.reopenComment);
}
}
else {
if (hydrated.locked) {
console.log(`Issue ${hydrated.number} is locked. Ignoring`);
}
else if (!this.alsoApplyToOpenIssues && hydrated.open) {
console.log(`Issue ${hydrated.number} is open. Ignoring`);
}
}
}));
}
}
}
exports.Reopener = Reopener;
//# sourceMappingURL=Reopener.js.map
+84
View File
@@ -0,0 +1,84 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { GitHub, Issue } from '../api/api'
import { ActionBase } from '../common/ActionBase'
export class Reopener extends ActionBase {
constructor(
private github: GitHub,
private alsoApplyToOpenIssues: boolean,
private addLabels?: string,
private removeLabels?: string,
private reopenComment?: string,
private setMilestoneId?: string,
labels?: string,
milestoneName?: string,
milestoneId?: string,
ignoreLabels?: string,
ignoreMilestoneNames?: string,
ignoreMilestoneIds?: string,
minimumVotes?: number,
maximumVotes?: number
)
{
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes);
}
async run() {
const addLabelsSet = this.addLabels ? this.addLabels.split(',') : [];
const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : [];
console.log(`alsoApplyToOpenIssues: ${this.alsoApplyToOpenIssues}`);
const query = this.buildQuery((this.alsoApplyToOpenIssues ? "": "is:closed ") + "is:unlocked");
for await (const page of this.github.query({ q: query })) {
await Promise.all(
page.map(async (issue) => {
const hydrated = await issue.getIssue()
if (!hydrated.locked && (this.alsoApplyToOpenIssues || hydrated.open === false) && this.validateIssue(hydrated)
// TODO: Verify closed and updated timestamps
) {
if (hydrated.open === false) {
console.log(`Reopening issue ${hydrated.number}`)
await issue.reopenIssue()
}
if (this.setMilestoneId != undefined) {
console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`)
await issue.setMilestone(+this.setMilestoneId)
}
if (removeLabelsSet.length > 0) {
for (const removeLabel of removeLabelsSet) {
if (removeLabel && removeLabel.length > 0) {
console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`)
await issue.removeLabel(removeLabel)
}
}
}
if (addLabelsSet.length > 0) {
for (const addLabel of addLabelsSet) {
if (addLabel && addLabel.length > 0) {
console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`)
await issue.addLabel(addLabel)
}
}
}
if (this.reopenComment) {
console.log(`Posting comment to issue ${hydrated.number}.`)
await issue.postComment(this.reopenComment)
}
} else {
if (hydrated.locked) {
console.log(`Issue ${hydrated.number} is locked. Ignoring`)
} else if (!this.alsoApplyToOpenIssues && hydrated.open) {
console.log(`Issue ${hydrated.number} is open. Ignoring`)
}
}
}),
)
}
}
}
+37
View File
@@ -0,0 +1,37 @@
name: Locker
description: Lock closed issues and PRs after some time has passed
inputs:
token:
description: GitHub token with issue, comment, and label read/write permissions
default: ${{ github.token }}
alsoApplyToOpenIssues:
description: If true, applies to issues that are already opened (to add/remove labels, etc., but not reopen).
addLabels:
description: Labels to add to issue as it is reopend.
reopenComment:
description: Comment to add upon reopening the issue.
setMilestoneId:
description: Milestone to set reopened issue to.
removeLabels:
description: Labels to remove from issue as it is reopened.
milestoneName:
description: items with these milestones will be considered (name only, must match ID)
milestoneId:
description: items with these milestones will be considered (id only, must match name)
labels:
description: items with these labels will not be considered. May be "*".
ignoreMilestoneNames:
description: items with these milestones will not be considered (names only, must match IDs). May be "*".
ignoreMilestoneIds:
description: items with these milestones will not be considered (IDs only, must match names)
ignoreLabels:
description: items with these labels will not be considered
minimumVotes:
descriptions: Only issues with at least this many votes will be considered.
maximumVotes:
descriptions: Only issues fewer or equal to this many votes will be considered.
readonly:
description: If true, changes are not applied.
runs:
using: 'node12'
main: 'index.js'
+21
View File
@@ -0,0 +1,21 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../common/utils");
const Reopener_1 = require("./Reopener");
const Action_1 = require("../common/Action");
class ReopenerAction extends Action_1.Action {
constructor() {
super(...arguments);
this.id = 'Locker';
}
async onTriggered(github) {
const alsoApplyToOpenIssues = utils_1.getInput('alsoApplyToOpenIssues');
await new Reopener_1.Reopener(github, alsoApplyToOpenIssues != undefined && alsoApplyToOpenIssues.toLowerCase() == 'true', utils_1.getInput('addLabels') || undefined, utils_1.getInput('removeLabels') || undefined, utils_1.getInput('reopenComment') || '', utils_1.getInput('setMilestoneId') || undefined, utils_1.getInput('labels') || undefined, utils_1.getInput('milestoneName') || undefined, utils_1.getInput('milestoneId') || undefined, utils_1.getInput('ignoreLabels') || undefined, utils_1.getInput('ignoreMilestoneNames') || undefined, utils_1.getInput('ignoreMilestoneIds') || undefined, +(utils_1.getInput('minimumVotes') || 0), +(utils_1.getInput('maximumVotes') || 9999999)).run();
}
}
new ReopenerAction().run(); // eslint-disable-line
//# sourceMappingURL=index.js.map
+35
View File
@@ -0,0 +1,35 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { OctoKit } from '../api/octokit'
import { getInput, getRequiredInput } from '../common/utils'
import { Reopener } from './Reopener'
import { Action } from '../common/Action'
class ReopenerAction extends Action {
id = 'Locker'
async onTriggered(github: OctoKit) {
const alsoApplyToOpenIssues: string | undefined = getInput('alsoApplyToOpenIssues');
await new Reopener(
github,
alsoApplyToOpenIssues != undefined && alsoApplyToOpenIssues.toLowerCase() == 'true',
getInput('addLabels') || undefined,
getInput('removeLabels') || undefined,
getInput('reopenComment') || '',
getInput('setMilestoneId') || undefined,
getInput('labels') || undefined,
getInput('milestoneName') || undefined,
getInput('milestoneId') || undefined,
getInput('ignoreLabels') || undefined,
getInput('ignoreMilestoneNames') || undefined,
getInput('ignoreMilestoneIds') || undefined,
+(getInput('minimumVotes') || 0),
+(getInput('maximumVotes') || 9999999)
).run()
}
}
new ReopenerAction().run() // eslint-disable-line
+106
View File
@@ -0,0 +1,106 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.StaleCloser = void 0;
const ActionBase_1 = require("../common/ActionBase");
const utils_1 = require("../common/utils");
class StaleCloser extends ActionBase_1.ActionBase {
constructor(github, closeDays, labels, closeComment, pingDays, pingComment, additionalTeam, addLabels, removeLabels, setMilestoneId, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves) {
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves);
this.github = github;
this.closeDays = closeDays;
this.closeComment = closeComment;
this.pingDays = pingDays;
this.pingComment = pingComment;
this.additionalTeam = additionalTeam;
this.addLabels = addLabels;
this.removeLabels = removeLabels;
this.setMilestoneId = setMilestoneId;
}
async run() {
const updatedTimestamp = utils_1.daysAgoToHumanReadbleDate(this.closeDays);
const pingTimestamp = this.pingDays ? utils_1.daysAgoToTimestamp(this.pingDays) : undefined;
const query = this.buildQuery((this.closeDays ? `updated:<${updatedTimestamp} ` : "") + "is:open is:unlocked");
const addLabelsSet = this.addLabels ? this.addLabels.split(',') : [];
const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : [];
for await (const page of this.github.query({ q: query })) {
for (const issue of page) {
const hydrated = await issue.getIssue();
const lastCommentIterator = await issue.getComments(true).next();
if (lastCommentIterator.done) {
throw Error('Unexpected comment data');
}
const lastComment = lastCommentIterator.value[0];
if (hydrated.open && this.validateIssue(hydrated)
// TODO: Verify updated timestamp
) {
if (!lastComment ||
lastComment.author.isGitHubApp ||
pingTimestamp == undefined ||
// TODO: List the collaborators once per go rather than checking a single user each issue
this.additionalTeam.includes(lastComment.author.name) ||
await issue.hasWriteAccess(lastComment.author)) {
if (pingTimestamp != undefined) {
if (lastComment) {
console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Closing.`);
}
else {
console.log(`No comments on issue ${hydrated.number}. Closing.`);
}
}
if (this.closeComment) {
console.log(`Posting comment on issue ${hydrated.number}`);
await issue.postComment(this.closeComment);
}
if (removeLabelsSet.length > 0) {
for (const removeLabel of removeLabelsSet) {
if (removeLabel && removeLabel.length > 0) {
console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`);
await issue.removeLabel(removeLabel);
}
}
}
if (addLabelsSet.length > 0) {
for (const addLabel of addLabelsSet) {
if (addLabel && addLabel.length > 0) {
console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`);
await issue.addLabel(addLabel);
}
}
}
await issue.closeIssue();
if (this.setMilestoneId != undefined) {
console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`);
await issue.setMilestone(+this.setMilestoneId);
}
console.log(`Closing issue ${hydrated.number}.`);
}
else {
// Ping
if (hydrated.updatedAt < pingTimestamp && hydrated.assignee) {
console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Pinging @${hydrated.assignee}`);
if (this.pingComment) {
await issue.postComment(this.pingComment
.replace('${assignee}', hydrated.assignee)
.replace('${author}', hydrated.author.name));
}
}
else {
console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Skipping.${hydrated.assignee ? ' cc @' + hydrated.assignee : ''}`);
}
}
}
else {
if (!hydrated.open) {
console.log(`Issue ${hydrated.number} is not open. Ignoring`);
}
}
}
}
}
}
exports.StaleCloser = StaleCloser;
//# sourceMappingURL=StaleCloser.js.map
+128
View File
@@ -0,0 +1,128 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { GitHub } from '../api/api'
import { ActionBase } from '../common/ActionBase'
import { daysAgoToHumanReadbleDate, daysAgoToTimestamp } from '../common/utils'
export class StaleCloser extends ActionBase {
constructor(
private github: GitHub,
private closeDays: number,
labels: string,
private closeComment: string,
private pingDays: number,
private pingComment: string,
private additionalTeam: string[],
private addLabels?: string,
private removeLabels?: string,
private setMilestoneId?: string,
milestoneName?: string,
milestoneId?: string,
ignoreLabels?: string,
ignoreMilestoneNames?: string,
ignoreMilestoneIds?: string,
minimumVotes?: number,
maximumVotes?: number,
involves?: string
)
{
super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves);
}
async run() {
const updatedTimestamp = daysAgoToHumanReadbleDate(this.closeDays)
const pingTimestamp = this.pingDays ? daysAgoToTimestamp(this.pingDays) : undefined;
const query = this.buildQuery((this.closeDays ? `updated:<${updatedTimestamp} ` : "") + "is:open is:unlocked");
const addLabelsSet = this.addLabels ? this.addLabels.split(',') : [];
const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : [];
for await (const page of this.github.query({ q: query })) {
for (const issue of page) {
const hydrated = await issue.getIssue()
const lastCommentIterator = await issue.getComments(true).next()
if (lastCommentIterator.done) {
throw Error('Unexpected comment data')
}
const lastComment = lastCommentIterator.value[0]
if (hydrated.open && this.validateIssue(hydrated)
// TODO: Verify updated timestamp
) {
if (
!lastComment ||
lastComment.author.isGitHubApp ||
pingTimestamp == undefined ||
// TODO: List the collaborators once per go rather than checking a single user each issue
this.additionalTeam.includes(lastComment.author.name) ||
await issue.hasWriteAccess(lastComment.author)
) {
if (pingTimestamp != undefined) {
if (lastComment) {
console.log(
`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Closing.`,
)
} else {
console.log(`No comments on issue ${hydrated.number}. Closing.`)
}
}
if (this.closeComment) {
console.log(`Posting comment on issue ${hydrated.number}`)
await issue.postComment(this.closeComment)
}
if (removeLabelsSet.length > 0) {
for (const removeLabel of removeLabelsSet) {
if (removeLabel && removeLabel.length > 0) {
console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`)
await issue.removeLabel(removeLabel)
}
}
}
if (addLabelsSet.length > 0) {
for (const addLabel of addLabelsSet) {
if (addLabel && addLabel.length > 0) {
console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`)
await issue.addLabel(addLabel)
}
}
}
await issue.closeIssue()
if (this.setMilestoneId != undefined) {
console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`)
await issue.setMilestone(+this.setMilestoneId)
}
console.log(`Closing issue ${hydrated.number}.`)
} else {
// Ping
if (hydrated.updatedAt < pingTimestamp && hydrated.assignee) {
console.log(
`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Pinging @${hydrated.assignee}`,
)
if (this.pingComment) {
await issue.postComment(
this.pingComment
.replace('${assignee}', hydrated.assignee)
.replace('${author}', hydrated.author.name),
)
}
} else {
console.log(
`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Skipping.${
hydrated.assignee ? ' cc @' + hydrated.assignee : ''
}`,
)
}
}
} else {
if (!hydrated.open) {
console.log(`Issue ${hydrated.number} is not open. Ignoring`)
}
}
}
}
}
}
+47
View File
@@ -0,0 +1,47 @@
name: Stale Issue Closer
description: Close issues that are marked with a specified label and were last interacted with by a contributor or bot
inputs:
token:
description: GitHub token with issue, comment, and label read/write permissions
default: ${{ github.token }}
closeDays:
description: Days to wait before closing the issue
required: true
closeComment:
description: Comment to add upon closing the issue
pingDays:
description: Days to wait before pinging the assignee, if any. If set, issue is not closed if there is an assignee.
additionalTeam:
description: Pipe-separated list of additional users to treat as team members
pingComment:
description: Comment to add when pinging assignee. ${assignee} and ${author} are replaced.
milestoneName:
description: items with these milestones will be considered (name only, must match ID)
milestoneId:
description: items with these milestones will be considered (id only, must match name)
labels:
description: items with these labels will not be considered. May be "*".
required: true
ignoreMilestoneNames:
description: items with these milestones will not be considered (names only, must match IDs). May be "*".
ignoreMilestoneIds:
description: items with these milestones will not be considered (IDs only, must match names)
ignoreLabels:
description: items with these labels will not be considered
addLabels:
description: Labels to add to issue as it is closed.
removeLabels:
description: Labels to remove from issue as it is closed.
setMilestoneId:
description: Milestone to set closed issue to.
minimumVotes:
descriptions: Only issues with at least this many votes will be considered.
maximumVotes:
descriptions: Only issues fewer or equal to this many votes will be considered.
involves:
descriptions: Qualifier to find issues that in some way involve a certain user either as an author, assignee, or mentions.
readonly:
description: If true, changes are not applied.
runs:
using: 'node12'
main: 'index.js'
+21
View File
@@ -0,0 +1,21 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../common/utils");
const StaleCloser_1 = require("./StaleCloser");
const Action_1 = require("../common/Action");
class StaleCloserAction extends Action_1.Action {
constructor() {
super(...arguments);
this.id = 'StaleCloser';
}
async onTriggered(github) {
var _a;
await new StaleCloser_1.StaleCloser(github, +utils_1.getRequiredInput('closeDays'), utils_1.getRequiredInput('labels'), utils_1.getInput('closeComment') || '', +(utils_1.getInput('pingDays') || 0), utils_1.getInput('pingComment') || '', ((_a = utils_1.getInput('additionalTeam')) !== null && _a !== void 0 ? _a : '').split(','), utils_1.getInput('addLabels') || undefined, utils_1.getInput('removeLabels') || undefined, utils_1.getInput('setMilestoneId') || undefined, utils_1.getInput('milestoneName') || undefined, utils_1.getInput('milestoneId') || undefined, utils_1.getInput('ignoreLabels') || undefined, utils_1.getInput('ignoreMilestoneNames') || undefined, utils_1.getInput('ignoreMilestoneIds') || undefined, +(utils_1.getInput('minimumVotes') || 0), +(utils_1.getInput('maximumVotes') || 9999999), utils_1.getInput('involves') || undefined).run();
}
}
new StaleCloserAction().run(); // eslint-disable-line
//# sourceMappingURL=index.js.map
+38
View File
@@ -0,0 +1,38 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { OctoKit } from '../api/octokit'
import { getInput, getRequiredInput } from '../common/utils'
import { StaleCloser } from './StaleCloser'
import { Action } from '../common/Action'
class StaleCloserAction extends Action {
id = 'StaleCloser'
async onTriggered(github: OctoKit) {
await new StaleCloser(
github,
+getRequiredInput('closeDays'),
getRequiredInput('labels'),
getInput('closeComment') || '',
+(getInput('pingDays') || 0),
getInput('pingComment') || '',
(getInput('additionalTeam') ?? '').split(','),
getInput('addLabels') || undefined,
getInput('removeLabels') || undefined,
getInput('setMilestoneId') || undefined,
getInput('milestoneName') || undefined,
getInput('milestoneId') || undefined,
getInput('ignoreLabels') || undefined,
getInput('ignoreMilestoneNames') || undefined,
getInput('ignoreMilestoneIds') || undefined,
+(getInput('minimumVotes') || 0),
+(getInput('maximumVotes') || 9999999),
getInput('involves') || undefined
).run()
}
}
new StaleCloserAction().run() // eslint-disable-line
+7
View File
@@ -0,0 +1,7 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=api.js.map
+100
View File
@@ -0,0 +1,100 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export interface GitHub {
query(query: Query): AsyncIterableIterator<GitHubIssue[]>
hasWriteAccess(user: User): Promise<boolean>
repoHasLabel(label: string): Promise<boolean>
createLabel(label: string, color: string, description: string): Promise<void>
deleteLabel(label: string): Promise<void>
readConfig(path: string): Promise<any>
dispatch(title: string): Promise<void>
createIssue(owner: string, repo: string, title: string, body: string): Promise<void>
releaseContainsCommit(release: string, commit: string): Promise<'yes' | 'no' | 'unknown'>
}
export interface GitHubIssue extends GitHub {
getIssue(): Promise<Issue>
postComment(body: string): Promise<void>
deleteComment(id: number): Promise<void>
getComments(last?: boolean): AsyncIterableIterator<Comment[]>
closeIssue(): Promise<void>
lockIssue(): Promise<void>
reopenIssue(): Promise<void>
setMilestone(milestoneId: number): Promise<void>
addLabel(label: string): Promise<void>
removeLabel(label: string): Promise<void>
addAssignee(assignee: string): Promise<void>
removeAssignee(assignee: string): Promise<void>
getClosingInfo(): Promise<{ hash: string | undefined; timestamp: number } | undefined>
}
type SortVar =
| 'comments'
| 'reactions'
| 'reactions-+1'
| 'reactions--1'
| 'reactions-smile'
| 'reactions-thinking_face'
| 'reactions-heart'
| 'reactions-tada'
| 'interactions'
| 'created'
| 'updated'
type SortOrder = 'asc' | 'desc'
export type Reactions = {
'+1': number
'-1': number
laugh: number
hooray: number
confused: number
heart: number
rocket: number
eyes: number
}
export interface User {
name: string
isGitHubApp?: boolean
}
export interface Comment {
author: User
body: string
id: number
timestamp: number
}
export interface Issue {
author: User
body: string
title: string
labels: string[]
open: boolean
locked: boolean
number: number
numComments: number
reactions: Reactions
milestoneId: number | null
assignee?: string
createdAt: number
updatedAt: number
closedAt?: number
}
export interface Query {
q: string
sort?: SortVar
order?: SortOrder
}
+405
View File
@@ -0,0 +1,405 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.OctoKitIssue = exports.OctoKit = exports.getNumRequests = void 0;
const core_1 = require("@actions/core");
const github_1 = require("@actions/github");
const child_process_1 = require("child_process");
let numRequests = 0;
exports.getNumRequests = () => numRequests;
class OctoKit {
constructor(token, params, options = { readonly: false }) {
this.token = token;
this.params = params;
this.options = options;
// when in readonly mode, record labels just-created so at to not throw unneccesary errors
this.mockLabels = new Set();
this.writeAccessCache = {};
this._octokit = new github_1.GitHub(token);
}
get octokit() {
numRequests++;
return this._octokit;
}
// TODO: just iterate over the issues in a page here instead of making caller do it
async *query(query) {
const q = query.q + ` repo:${this.params.owner}/${this.params.repo}`;
console.log(`Querying for ${q}:`);
const options = this.octokit.search.issuesAndPullRequests.endpoint.merge({
...query,
q,
per_page: 100,
headers: { Accept: 'application/vnd.github.squirrel-girl-preview+json' },
});
let pageNum = 0;
const timeout = async () => {
if (pageNum < 2) {
/* pass */
}
else if (pageNum < 4) {
await new Promise((resolve) => setTimeout(resolve, 3000));
}
else {
await new Promise((resolve) => setTimeout(resolve, 30000));
}
};
for await (const pageResponse of this.octokit.paginate.iterator(options)) {
await timeout();
numRequests++;
const page = pageResponse.data;
console.log(`Page ${++pageNum}: ${page.map(({ number }) => number).join(' ')}`);
yield page.map((issue) => new OctoKitIssue(this.token, this.params, this.octokitIssueToIssue(issue), this.options));
}
}
async createIssue(owner, repo, title, body) {
core_1.debug(`Creating issue \`${title}\` on ${owner}/${repo}`);
if (!this.options.readonly)
await this.octokit.issues.create({ owner, repo, title, body });
}
octokitIssueToIssue(issue) {
var _a, _b, _c, _d, _e, _f;
return {
author: { name: issue.user.login, isGitHubApp: issue.user.type === 'Bot' },
body: issue.body,
number: issue.number,
title: issue.title,
labels: issue.labels.map((label) => label.name),
open: issue.state === 'open',
locked: issue.locked,
numComments: issue.comments,
reactions: issue.reactions,
assignee: (_b = (_a = issue.assignee) === null || _a === void 0 ? void 0 : _a.login) !== null && _b !== void 0 ? _b : (_d = (_c = issue.assignees) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.login,
milestoneId: (_f = (_e = issue.milestone) === null || _e === void 0 ? void 0 : _e.number) !== null && _f !== void 0 ? _f : null,
createdAt: +new Date(issue.created_at),
updatedAt: +new Date(issue.updated_at),
closedAt: issue.closed_at ? +new Date(issue.closed_at) : undefined,
};
}
async hasWriteAccess(user) {
if (user.name in this.writeAccessCache) {
core_1.debug('Got permissions from cache for ' + user);
return this.writeAccessCache[user.name];
}
core_1.debug('Fetching permissions for ' + user);
const permissions = (await this.octokit.repos.getCollaboratorPermissionLevel({
...this.params,
username: user.name,
})).data.permission;
return (this.writeAccessCache[user.name] = permissions === 'admin' || permissions === 'write');
}
async repoHasLabel(name) {
try {
await this.octokit.issues.getLabel({ ...this.params, name });
return true;
}
catch (err) {
if (err.status === 404) {
return this.options.readonly && this.mockLabels.has(name);
}
throw err;
}
}
async createLabel(name, color, description) {
core_1.debug('Creating label ' + name);
if (!this.options.readonly)
await this.octokit.issues.createLabel({ ...this.params, color, description, name });
else
this.mockLabels.add(name);
}
async deleteLabel(name) {
core_1.debug('Deleting label ' + name);
try {
if (!this.options.readonly)
await this.octokit.issues.deleteLabel({ ...this.params, name });
}
catch (err) {
if (err.status === 404) {
return;
}
throw err;
}
}
async readConfig(path) {
core_1.debug('Reading config at ' + path);
const repoPath = `.github/${path}.json`;
try {
const data = (await this.octokit.repos.getContents({ ...this.params, path: repoPath })).data;
if ('type' in data && data.type === 'file') {
if (data.encoding === 'base64' && data.content) {
return JSON.parse(Buffer.from(data.content, 'base64').toString('utf-8'));
}
throw Error(`Could not read contents "${data.content}" in encoding "${data.encoding}"`);
}
throw Error('Found directory at config path when expecting file' + JSON.stringify(data));
}
catch (e) {
throw Error('Error with config file at ' + repoPath + ': ' + JSON.stringify(e));
}
}
async releaseContainsCommit(release, commit) {
return new Promise((resolve, reject) => child_process_1.exec(`git -C ./repo merge-base --is-ancestor ${commit} ${release}`, (err) => {
if (!err || err.code === 1) {
resolve(!err ? 'yes' : 'no');
}
else if (err.message.includes(`Not a valid commit name ${release}`)) {
// release branch is forked. Probably in endgame. Not released.
resolve('no');
}
else if (err.message.includes(`Not a valid commit name ${commit}`)) {
// commit is probably in a different repo.
resolve('unknown');
}
else {
reject(err);
}
}));
}
async dispatch(title) {
core_1.debug('Dispatching ' + title);
if (!this.options.readonly)
await this.octokit.repos.createDispatchEvent({ ...this.params, event_type: title });
}
}
exports.OctoKit = OctoKit;
class OctoKitIssue extends OctoKit {
constructor(token, params, issueData, options = { readonly: false }) {
super(token, params, options);
this.params = params;
this.issueData = issueData;
console.log('running bot on issue', issueData.number);
}
async addAssignee(assignee) {
core_1.debug('Adding assignee ' + assignee + ' to ' + this.issueData.number);
if (!this.options.readonly) {
await this.octokit.issues.addAssignees({
...this.params,
issue_number: this.issueData.number,
assignees: [assignee],
});
}
}
async removeAssignee(assignee) {
core_1.debug('Removing assignee ' + assignee + ' to ' + this.issueData.number);
if (!this.options.readonly) {
await this.octokit.issues.removeAssignees({
...this.params,
issue_number: this.issueData.number,
assignees: [assignee],
});
}
}
async closeIssue() {
core_1.debug('Closing issue ' + this.issueData.number);
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
state: 'closed',
});
}
async reopenIssue() {
core_1.debug('Reopening issue ' + this.issueData.number);
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
state: 'open',
});
}
async lockIssue() {
core_1.debug('Locking issue ' + this.issueData.number);
if (!this.options.readonly)
await this.octokit.issues.lock({ ...this.params, issue_number: this.issueData.number });
}
async getIssue() {
if (isIssue(this.issueData)) {
core_1.debug('Got issue data from query result ' + this.issueData.number);
return this.issueData;
}
console.log('Fetching issue ' + this.issueData.number);
const issue = (await this.octokit.issues.get({
...this.params,
issue_number: this.issueData.number,
mediaType: { previews: ['squirrel-girl'] },
})).data;
return (this.issueData = this.octokitIssueToIssue(issue));
}
async postComment(body) {
core_1.debug(`Posting comment ${body} on ${this.issueData.number}`);
if (!this.options.readonly)
await this.octokit.issues.createComment({
...this.params,
issue_number: this.issueData.number,
body,
});
}
async deleteComment(id) {
core_1.debug(`Deleting comment ${id} on ${this.issueData.number}`);
if (!this.options.readonly)
await this.octokit.issues.deleteComment({
owner: this.params.owner,
repo: this.params.repo,
comment_id: id,
});
}
async setMilestone(milestoneId) {
core_1.debug(`Setting milestone for ${this.issueData.number} to ${milestoneId}`);
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
milestone: milestoneId,
});
}
async *getComments(last) {
core_1.debug('Fetching comments for ' + this.issueData.number);
const response = this.octokit.paginate.iterator(this.octokit.issues.listComments.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
per_page: 100,
...(last ? { per_page: 1, page: (await this.getIssue()).numComments } : {}),
}));
for await (const page of response) {
numRequests++;
yield page.data.map((comment) => ({
author: { name: comment.user.login, isGitHubApp: comment.user.type === 'Bot' },
body: comment.body,
id: comment.id,
timestamp: +new Date(comment.created_at),
}));
}
}
async addLabel(name) {
core_1.debug(`Adding label ${name} to ${this.issueData.number}`);
if (!(await this.repoHasLabel(name))) {
throw Error(`Action could not execute becuase label ${name} is not defined.`);
}
if (!this.options.readonly)
await this.octokit.issues.addLabels({
...this.params,
issue_number: this.issueData.number,
labels: [name],
});
}
async getAssigner(assignee) {
const options = this.octokit.issues.listEventsForTimeline.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
});
let assigner;
for await (const event of this.octokit.paginate.iterator(options)) {
numRequests++;
const timelineEvents = event.data;
for (const timelineEvent of timelineEvents) {
if (timelineEvent.event === 'assigned' &&
timelineEvent.assignee.login === assignee) {
assigner = timelineEvent.actor.login;
}
}
}
if (!assigner) {
throw Error('Expected to find ' + assignee + ' in issue timeline but did not.');
}
return assigner;
}
async removeLabel(name) {
core_1.debug(`Removing label ${name} from ${this.issueData.number}`);
try {
if (!this.options.readonly)
await this.octokit.issues.removeLabel({
...this.params,
issue_number: this.issueData.number,
name,
});
}
catch (err) {
if (err.status === 404) {
console.log(`Label ${name} not found on issue`);
return;
}
throw err;
}
}
async getClosingInfo(alreadyChecked = []) {
var _a, _b, _c, _d, _e, _f, _g;
if (alreadyChecked.includes(this.issueData.number)) {
return undefined;
}
alreadyChecked.push(this.issueData.number);
if ((await this.getIssue()).open) {
return;
}
const closingHashComment = /(?:\\|\/)closedWith (\S*)/;
const options = this.octokit.issues.listEventsForTimeline.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
});
let closingCommit;
const crossReferencing = [];
for await (const event of this.octokit.paginate.iterator(options)) {
numRequests++;
const timelineEvents = event.data;
for (const timelineEvent of timelineEvents) {
if ((timelineEvent.event === 'closed' || timelineEvent.event === 'merged') &&
timelineEvent.commit_id &&
timelineEvent.commit_url
.toLowerCase()
.includes(`/${this.params.owner}/${this.params.repo}/`.toLowerCase())) {
closingCommit = {
hash: timelineEvent.commit_id,
timestamp: +new Date(timelineEvent.created_at),
};
}
if (timelineEvent.event === 'reopened') {
closingCommit = undefined;
}
if (timelineEvent.event === 'commented' &&
!((_a = timelineEvent.body) === null || _a === void 0 ? void 0 : _a.includes('UNABLE_TO_LOCATE_COMMIT_MESSAGE')) &&
closingHashComment.test(timelineEvent.body)) {
closingCommit = {
hash: closingHashComment.exec(timelineEvent.body)[1],
timestamp: +new Date(timelineEvent.created_at),
};
}
if (timelineEvent.event === 'cross-referenced' && ((_c = (_b = timelineEvent.source) === null || _b === void 0 ? void 0 : _b.issue) === null || _c === void 0 ? void 0 : _c.number) && ((_f = (_e = (_d = timelineEvent.source) === null || _d === void 0 ? void 0 : _d.issue) === null || _e === void 0 ? void 0 : _e.pull_request) === null || _f === void 0 ? void 0 : _f.url.includes(`/${this.params.owner}/${this.params.repo}/`.toLowerCase()))) {
crossReferencing.push(timelineEvent.source.issue.number);
}
}
}
// If we dont have any closing info, try to get it from linked issues (PRs).
// If there's a linked issue that was closed at almost the same time, guess it was a PR that closed this.
if (!closingCommit) {
for (const id of crossReferencing.reverse()) {
const closed = await new OctoKitIssue(this.token, this.params, {
number: id,
}, this.options).getClosingInfo(alreadyChecked);
if (closed) {
if (Math.abs(closed.timestamp - ((_g = (await this.getIssue()).closedAt) !== null && _g !== void 0 ? _g : 0)) < 5000) {
closingCommit = closed;
break;
}
}
}
}
console.log(`Got ${JSON.stringify(closingCommit)} as closing commit of ${this.issueData.number}`);
return closingCommit;
}
}
exports.OctoKitIssue = OctoKitIssue;
function isIssue(object) {
const isIssue = 'author' in object &&
'body' in object &&
'title' in object &&
'labels' in object &&
'open' in object &&
'locked' in object &&
'number' in object &&
'numComments' in object &&
'reactions' in object &&
'milestoneId' in object;
return isIssue;
}
//# sourceMappingURL=octokit.js.map
+470
View File
@@ -0,0 +1,470 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { debug } from '@actions/core'
import { GitHub as GitHubAPI } from '@actions/github'
import { Octokit } from '@octokit/rest'
import { exec } from 'child_process'
import { Comment, GitHub, GitHubIssue, Issue, Query, User } from './api'
let numRequests = 0
export const getNumRequests = () => numRequests
export class OctoKit implements GitHub {
private _octokit: GitHubAPI
protected get octokit(): GitHubAPI {
numRequests++
return this._octokit
}
// when in readonly mode, record labels just-created so at to not throw unneccesary errors
protected mockLabels: Set<string> = new Set()
constructor(
protected token: string,
protected params: { repo: string; owner: string },
protected options: { readonly: boolean } = { readonly: false },
) {
this._octokit = new GitHubAPI(token)
}
// TODO: just iterate over the issues in a page here instead of making caller do it
async *query(query: Query): AsyncIterableIterator<GitHubIssue[]> {
const q = query.q + ` repo:${this.params.owner}/${this.params.repo}`
console.log(`Querying for ${q}:`)
const options = this.octokit.search.issuesAndPullRequests.endpoint.merge({
...query,
q,
per_page: 100,
headers: { Accept: 'application/vnd.github.squirrel-girl-preview+json' },
})
let pageNum = 0
const timeout = async () => {
if (pageNum < 2) {
/* pass */
} else if (pageNum < 4) {
await new Promise((resolve) => setTimeout(resolve, 3000))
} else {
await new Promise((resolve) => setTimeout(resolve, 30000))
}
}
for await (const pageResponse of this.octokit.paginate.iterator(options)) {
await timeout()
numRequests++
const page: Array<Octokit.SearchIssuesAndPullRequestsResponseItemsItem> = pageResponse.data
console.log(`Page ${++pageNum}: ${page.map(({ number }) => number).join(' ')}`)
yield page.map(
(issue) => new OctoKitIssue(this.token, this.params, this.octokitIssueToIssue(issue), this.options),
)
}
}
async createIssue(owner: string, repo: string, title: string, body: string): Promise<void> {
debug(`Creating issue \`${title}\` on ${owner}/${repo}`)
if (!this.options.readonly) await this.octokit.issues.create({ owner, repo, title, body })
}
protected octokitIssueToIssue(
issue: Octokit.IssuesGetResponse | Octokit.SearchIssuesAndPullRequestsResponseItemsItem,
): Issue {
return {
author: { name: issue.user.login, isGitHubApp: issue.user.type === 'Bot' },
body: issue.body,
number: issue.number,
title: issue.title,
labels: (issue.labels as Octokit.IssuesGetLabelResponse[]).map((label) => label.name),
open: issue.state === 'open',
locked: (issue as any).locked,
numComments: issue.comments,
reactions: (issue as any).reactions,
assignee: issue.assignee?.login ?? (issue as any).assignees?.[0]?.login,
milestoneId: issue.milestone?.number ?? null,
createdAt: +new Date(issue.created_at),
updatedAt: +new Date(issue.updated_at),
closedAt: issue.closed_at ? +new Date((issue.closed_at as unknown) as string) : undefined,
}
}
private writeAccessCache: Record<string, boolean> = {}
async hasWriteAccess(user: User): Promise<boolean> {
if (user.name in this.writeAccessCache) {
debug('Got permissions from cache for ' + user)
return this.writeAccessCache[user.name]
}
debug('Fetching permissions for ' + user)
const permissions = (
await this.octokit.repos.getCollaboratorPermissionLevel({
...this.params,
username: user.name,
})
).data.permission
return (this.writeAccessCache[user.name] = permissions === 'admin' || permissions === 'write')
}
async repoHasLabel(name: string): Promise<boolean> {
try {
await this.octokit.issues.getLabel({ ...this.params, name })
return true
} catch (err) {
if (err.status === 404) {
return this.options.readonly && this.mockLabels.has(name)
}
throw err
}
}
async createLabel(name: string, color: string, description: string): Promise<void> {
debug('Creating label ' + name)
if (!this.options.readonly)
await this.octokit.issues.createLabel({ ...this.params, color, description, name })
else this.mockLabels.add(name)
}
async deleteLabel(name: string): Promise<void> {
debug('Deleting label ' + name)
try {
if (!this.options.readonly) await this.octokit.issues.deleteLabel({ ...this.params, name })
} catch (err) {
if (err.status === 404) {
return
}
throw err
}
}
async readConfig(path: string): Promise<any> {
debug('Reading config at ' + path)
const repoPath = `.github/${path}.json`
try {
const data = (await this.octokit.repos.getContents({ ...this.params, path: repoPath })).data
if ('type' in data && data.type === 'file') {
if (data.encoding === 'base64' && data.content) {
return JSON.parse(Buffer.from(data.content, 'base64').toString('utf-8'))
}
throw Error(`Could not read contents "${data.content}" in encoding "${data.encoding}"`)
}
throw Error('Found directory at config path when expecting file' + JSON.stringify(data))
} catch (e) {
throw Error('Error with config file at ' + repoPath + ': ' + JSON.stringify(e))
}
}
async releaseContainsCommit(release: string, commit: string): Promise<'yes' | 'no' | 'unknown'> {
return new Promise((resolve, reject) =>
exec(`git -C ./repo merge-base --is-ancestor ${commit} ${release}`, (err) => {
if (!err || err.code === 1) {
resolve(!err ? 'yes' : 'no')
} else if (err.message.includes(`Not a valid commit name ${release}`)) {
// release branch is forked. Probably in endgame. Not released.
resolve('no')
} else if (err.message.includes(`Not a valid commit name ${commit}`)) {
// commit is probably in a different repo.
resolve('unknown')
} else {
reject(err)
}
}),
)
}
async dispatch(title: string): Promise<void> {
debug('Dispatching ' + title)
if (!this.options.readonly)
await this.octokit.repos.createDispatchEvent({ ...this.params, event_type: title })
}
}
export class OctoKitIssue extends OctoKit implements GitHubIssue {
constructor(
token: string,
protected params: { repo: string; owner: string },
private issueData: { number: number } | Issue,
options: { readonly: boolean } = { readonly: false },
) {
super(token, params, options)
console.log('running bot on issue', issueData.number)
}
async addAssignee(assignee: string): Promise<void> {
debug('Adding assignee ' + assignee + ' to ' + this.issueData.number)
if (!this.options.readonly) {
await this.octokit.issues.addAssignees({
...this.params,
issue_number: this.issueData.number,
assignees: [assignee],
})
}
}
async removeAssignee(assignee: string): Promise<void> {
debug('Removing assignee ' + assignee + ' to ' + this.issueData.number)
if (!this.options.readonly) {
await this.octokit.issues.removeAssignees({
...this.params,
issue_number: this.issueData.number,
assignees: [assignee],
})
}
}
async closeIssue(): Promise<void> {
debug('Closing issue ' + this.issueData.number)
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
state: 'closed',
})
}
async reopenIssue(): Promise<void> {
debug('Reopening issue ' + this.issueData.number)
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
state: 'open',
})
}
async lockIssue(): Promise<void> {
debug('Locking issue ' + this.issueData.number)
if (!this.options.readonly)
await this.octokit.issues.lock({ ...this.params, issue_number: this.issueData.number })
}
async getIssue(): Promise<Issue> {
if (isIssue(this.issueData)) {
debug('Got issue data from query result ' + this.issueData.number)
return this.issueData
}
console.log('Fetching issue ' + this.issueData.number)
const issue = (
await this.octokit.issues.get({
...this.params,
issue_number: this.issueData.number,
mediaType: { previews: ['squirrel-girl'] },
})
).data
return (this.issueData = this.octokitIssueToIssue(issue))
}
async postComment(body: string): Promise<void> {
debug(`Posting comment ${body} on ${this.issueData.number}`)
if (!this.options.readonly)
await this.octokit.issues.createComment({
...this.params,
issue_number: this.issueData.number,
body,
})
}
async deleteComment(id: number): Promise<void> {
debug(`Deleting comment ${id} on ${this.issueData.number}`)
if (!this.options.readonly)
await this.octokit.issues.deleteComment({
owner: this.params.owner,
repo: this.params.repo,
comment_id: id,
})
}
async setMilestone(milestoneId: number) {
debug(`Setting milestone for ${this.issueData.number} to ${milestoneId}`)
if (!this.options.readonly)
await this.octokit.issues.update({
...this.params,
issue_number: this.issueData.number,
milestone: milestoneId,
})
}
async *getComments(last?: boolean): AsyncIterableIterator<Comment[]> {
debug('Fetching comments for ' + this.issueData.number)
const response = this.octokit.paginate.iterator(
this.octokit.issues.listComments.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
per_page: 100,
...(last ? { per_page: 1, page: (await this.getIssue()).numComments } : {}),
}),
)
for await (const page of response) {
numRequests++
yield (page.data as Octokit.IssuesListCommentsResponseItem[]).map((comment) => ({
author: { name: comment.user.login, isGitHubApp: comment.user.type === 'Bot' },
body: comment.body,
id: comment.id,
timestamp: +new Date(comment.created_at),
}))
}
}
async addLabel(name: string): Promise<void> {
debug(`Adding label ${name} to ${this.issueData.number}`)
if (!(await this.repoHasLabel(name))) {
throw Error(`Action could not execute becuase label ${name} is not defined.`)
}
if (!this.options.readonly)
await this.octokit.issues.addLabels({
...this.params,
issue_number: this.issueData.number,
labels: [name],
})
}
async getAssigner(assignee: string): Promise<string> {
const options = this.octokit.issues.listEventsForTimeline.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
})
let assigner: string | undefined
for await (const event of this.octokit.paginate.iterator(options)) {
numRequests++
const timelineEvents = event.data as Octokit.IssuesListEventsForTimelineResponseItem[]
for (const timelineEvent of timelineEvents) {
if (
timelineEvent.event === 'assigned' &&
(timelineEvent as any).assignee.login === assignee
) {
assigner = timelineEvent.actor.login
}
}
}
if (!assigner) {
throw Error('Expected to find ' + assignee + ' in issue timeline but did not.')
}
return assigner
}
async removeLabel(name: string): Promise<void> {
debug(`Removing label ${name} from ${this.issueData.number}`)
try {
if (!this.options.readonly)
await this.octokit.issues.removeLabel({
...this.params,
issue_number: this.issueData.number,
name,
})
} catch (err) {
if (err.status === 404) {
console.log(`Label ${name} not found on issue`)
return
}
throw err
}
}
async getClosingInfo(
alreadyChecked: number[] = [],
): Promise<{ hash: string | undefined; timestamp: number } | undefined> {
if (alreadyChecked.includes(this.issueData.number)) {
return undefined
}
alreadyChecked.push(this.issueData.number)
if ((await this.getIssue()).open) {
return
}
const closingHashComment = /(?:\\|\/)closedWith (\S*)/
const options = this.octokit.issues.listEventsForTimeline.endpoint.merge({
...this.params,
issue_number: this.issueData.number,
})
let closingCommit: { hash: string | undefined; timestamp: number } | undefined
const crossReferencing: number[] = []
for await (const event of this.octokit.paginate.iterator(options)) {
numRequests++
const timelineEvents = event.data as Octokit.IssuesListEventsForTimelineResponseItem[]
for (const timelineEvent of timelineEvents) {
if (
(timelineEvent.event === 'closed' || timelineEvent.event === 'merged') &&
timelineEvent.commit_id &&
timelineEvent.commit_url
.toLowerCase()
.includes(`/${this.params.owner}/${this.params.repo}/`.toLowerCase())
) {
closingCommit = {
hash: timelineEvent.commit_id,
timestamp: +new Date(timelineEvent.created_at),
}
}
if (timelineEvent.event === 'reopened') {
closingCommit = undefined
}
if (
timelineEvent.event === 'commented' &&
!((timelineEvent as any).body as string)?.includes('UNABLE_TO_LOCATE_COMMIT_MESSAGE') &&
closingHashComment.test((timelineEvent as any).body)
) {
closingCommit = {
hash: closingHashComment.exec((timelineEvent as any).body)![1],
timestamp: +new Date(timelineEvent.created_at),
}
}
if (
timelineEvent.event === 'cross-referenced' &&
(timelineEvent as any).source?.issue?.number &&
(timelineEvent as any).source?.issue?.pull_request?.url.includes(
`/${this.params.owner}/${this.params.repo}/`.toLowerCase(),
)
) {
crossReferencing.push((timelineEvent as any).source.issue.number)
}
}
}
// If we dont have any closing info, try to get it from linked issues (PRs).
// If there's a linked issue that was closed at almost the same time, guess it was a PR that closed this.
if (!closingCommit) {
for (const id of crossReferencing.reverse()) {
const closed = await new OctoKitIssue(this.token, this.params, {
number: id,
}, this.options).getClosingInfo(alreadyChecked)
if (closed) {
if (Math.abs(closed.timestamp - ((await this.getIssue()).closedAt ?? 0)) < 5000) {
closingCommit = closed
break
}
}
}
}
console.log(`Got ${JSON.stringify(closingCommit)} as closing commit of ${this.issueData.number}`)
return closingCommit
}
}
function isIssue(object: any): object is Issue {
const isIssue =
'author' in object &&
'body' in object &&
'title' in object &&
'labels' in object &&
'open' in object &&
'locked' in object &&
'number' in object &&
'numComments' in object &&
'reactions' in object &&
'milestoneId' in object
return isIssue
}
+129
View File
@@ -0,0 +1,129 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Action = void 0;
const octokit_1 = require("../api/octokit");
const github_1 = require("@actions/github");
const utils_1 = require("./utils");
const core_1 = require("@actions/core");
class Action {
constructor() {
this.token = utils_1.getRequiredInput('token');
this.username = new github_1.GitHub(this.token).users.getAuthenticated().then((v) => v.data.name);
}
async run() {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
console.log('running ', this.id, 'with context', {
...github_1.context,
payload: {
issue: (_b = (_a = github_1.context.payload) === null || _a === void 0 ? void 0 : _a.issue) === null || _b === void 0 ? void 0 : _b.number,
label: (_d = (_c = github_1.context.payload) === null || _c === void 0 ? void 0 : _c.label) === null || _d === void 0 ? void 0 : _d.name,
repository: (_f = (_e = github_1.context.payload) === null || _e === void 0 ? void 0 : _e.repository) === null || _f === void 0 ? void 0 : _f.html_url,
sender: (_j = (_h = (_g = github_1.context.payload) === null || _g === void 0 ? void 0 : _g.sender) === null || _h === void 0 ? void 0 : _h.login) !== null && _j !== void 0 ? _j : (_l = (_k = github_1.context.payload) === null || _k === void 0 ? void 0 : _k.sender) === null || _l === void 0 ? void 0 : _l.type,
},
});
if (utils_1.errorLoggingIssue) {
const { repo, issue, owner } = utils_1.errorLoggingIssue;
if (github_1.context.repo.repo === repo &&
github_1.context.repo.owner === owner &&
((_m = github_1.context.payload.issue) === null || _m === void 0 ? void 0 : _m.number) === issue) {
return console.log('refusing to run on error logging issue to prevent cascading errors');
}
}
try {
const token = utils_1.getRequiredInput('token');
const readonly = !!core_1.getInput('readonly');
const issue = (_o = github_1.context === null || github_1.context === void 0 ? void 0 : github_1.context.issue) === null || _o === void 0 ? void 0 : _o.number;
if (issue) {
const octokit = new octokit_1.OctoKitIssue(token, github_1.context.repo, { number: issue }, { readonly });
if (github_1.context.eventName === 'issue_comment') {
await this.onCommented(octokit, github_1.context.payload.comment.body, github_1.context.actor);
}
else if (github_1.context.eventName === 'issues') {
switch (github_1.context.payload.action) {
case 'opened':
await this.onOpened(octokit);
break;
case 'reopened':
await this.onReopened(octokit);
break;
case 'closed':
await this.onClosed(octokit);
break;
case 'labeled':
await this.onLabeled(octokit, github_1.context.payload.label.name);
break;
case 'unassigned':
await this.onUnassigned(octokit, github_1.context.payload.assignee.login);
break;
case 'edited':
await this.onEdited(octokit);
break;
case 'milestoned':
await this.onMilestoned(octokit);
break;
default:
throw Error('Unexpected action: ' + github_1.context.payload.action);
}
}
}
else {
await this.onTriggered(new octokit_1.OctoKit(token, github_1.context.repo, { readonly }));
}
}
catch (e) {
await this.error(e);
}
const usage = await utils_1.getRateLimit(this.token);
}
async error(error) {
const details = {
message: `${error.message}\n${error.stack}`,
id: this.id,
user: await this.username,
};
if (github_1.context.issue.number)
details.issue = github_1.context.issue.number;
const rendered = `
Message: ${details.message}
Actor: ${details.user}
ID: ${details.id}
`;
await utils_1.logErrorToIssue(rendered, true, this.token);
core_1.setFailed(error.message);
}
async onTriggered(_octokit) {
throw Error('not implemented');
}
async onEdited(_issue) {
throw Error('not implemented');
}
async onLabeled(_issue, _label) {
throw Error('not implemented');
}
async onUnassigned(_issue, _label) {
throw Error('not implemented');
}
async onOpened(_issue) {
throw Error('not implemented');
}
async onReopened(_issue) {
throw Error('not implemented');
}
async onClosed(_issue) {
throw Error('not implemented');
}
async onMilestoned(_issue) {
throw Error('not implemented');
}
async onCommented(_issue, _comment, _actor) {
throw Error('not implemented');
}
}
exports.Action = Action;
//# sourceMappingURL=Action.js.map
+137
View File
@@ -0,0 +1,137 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { OctoKit, OctoKitIssue, getNumRequests } from '../api/octokit'
import { context, GitHub } from '@actions/github'
import { getRequiredInput, logErrorToIssue, getRateLimit, errorLoggingIssue } from './utils'
import { getInput, setFailed } from '@actions/core'
export abstract class Action {
abstract id: string
private username: Promise<string>
private token = getRequiredInput('token')
constructor() {
this.username = new GitHub(this.token).users.getAuthenticated().then((v) => v.data.name)
}
public async run() {
console.log('running ', this.id, 'with context', {
...context,
payload: {
issue: context.payload?.issue?.number,
label: context.payload?.label?.name,
repository: context.payload?.repository?.html_url,
sender: context.payload?.sender?.login ?? context.payload?.sender?.type,
},
})
if (errorLoggingIssue) {
const { repo, issue, owner } = errorLoggingIssue
if (
context.repo.repo === repo &&
context.repo.owner === owner &&
context.payload.issue?.number === issue
) {
return console.log('refusing to run on error logging issue to prevent cascading errors')
}
}
try {
const token = getRequiredInput('token')
const readonly = !!getInput('readonly')
const issue = context?.issue?.number
if (issue) {
const octokit = new OctoKitIssue(token, context.repo, { number: issue }, { readonly })
if (context.eventName === 'issue_comment') {
await this.onCommented(octokit, context.payload.comment.body, context.actor)
} else if (context.eventName === 'issues') {
switch (context.payload.action) {
case 'opened':
await this.onOpened(octokit)
break
case 'reopened':
await this.onReopened(octokit)
break
case 'closed':
await this.onClosed(octokit)
break
case 'labeled':
await this.onLabeled(octokit, context.payload.label.name)
break
case 'unassigned':
await this.onUnassigned(octokit, context.payload.assignee.login)
break
case 'edited':
await this.onEdited(octokit)
break
case 'milestoned':
await this.onMilestoned(octokit)
break
default:
throw Error('Unexpected action: ' + context.payload.action)
}
}
} else {
await this.onTriggered(new OctoKit(token, context.repo, { readonly }))
}
} catch (e) {
await this.error(e)
}
const usage = await getRateLimit(this.token)
}
private async error(error: Error) {
const details: any = {
message: `${error.message}\n${error.stack}`,
id: this.id,
user: await this.username,
}
if (context.issue.number) details.issue = context.issue.number
const rendered = `
Message: ${details.message}
Actor: ${details.user}
ID: ${details.id}
`
await logErrorToIssue(rendered, true, this.token)
setFailed(error.message)
}
protected async onTriggered(_octokit: OctoKit): Promise<void> {
throw Error('not implemented')
}
protected async onEdited(_issue: OctoKitIssue): Promise<void> {
throw Error('not implemented')
}
protected async onLabeled(_issue: OctoKitIssue, _label: string): Promise<void> {
throw Error('not implemented')
}
protected async onUnassigned(_issue: OctoKitIssue, _label: string): Promise<void> {
throw Error('not implemented')
}
protected async onOpened(_issue: OctoKitIssue): Promise<void> {
throw Error('not implemented')
}
protected async onReopened(_issue: OctoKitIssue): Promise<void> {
throw Error('not implemented')
}
protected async onClosed(_issue: OctoKitIssue): Promise<void> {
throw Error('not implemented')
}
protected async onMilestoned(_issue: OctoKitIssue): Promise<void> {
throw Error('not implemented')
}
protected async onCommented(_issue: OctoKitIssue, _comment: string, _actor: string): Promise<void> {
throw Error('not implemented')
}
}
+181
View File
@@ -0,0 +1,181 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionBase = void 0;
class ActionBase {
constructor(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves) {
this.labels = labels;
this.milestoneName = milestoneName;
this.milestoneId = milestoneId;
this.ignoreLabels = ignoreLabels;
this.ignoreMilestoneNames = ignoreMilestoneNames;
this.ignoreMilestoneIds = ignoreMilestoneIds;
this.minimumVotes = minimumVotes;
this.maximumVotes = maximumVotes;
this.involves = involves;
this.labelsSet = [];
this.ignoreLabelsSet = [];
this.ignoreMilestoneNamesSet = [];
this.ignoreMilestoneIdsSet = [];
this.ignoreAllWithLabels = false;
this.ignoreAllWithMilestones = false;
this.involvesSet = [];
}
buildQuery(baseQuery) {
var _a, _b, _c, _d, _e, _f;
let query = baseQuery;
console.log(`labels: ${this.labels}`);
console.log(`milestoneName: ${this.milestoneName}`);
console.log(`milestoneId: ${this.milestoneId}`);
console.log(`ignoreLabels: ${this.ignoreLabels}`);
console.log(`ignoreMilestoneNames: ${this.ignoreMilestoneNames}`);
console.log(`ignoreMilestoneIds: ${this.ignoreMilestoneIds}`);
console.log(`minimumVotes: ${this.minimumVotes}`);
console.log(`maximumVotes: ${this.maximumVotes}`);
console.log(`involves: ${this.involves}`);
// Both milestone name and milestone Id must be provided and must match.
// The name is used to construct the query, which does not accept ID.
// The ID is used for comparisons with issue data, which does not include the name.
// TODO: Figure out a way to convert either from milestone name to ID, or vice versa.
// If label inclusion and exclusion are mixed, exclusion will take precedence.
// For example, an issue with both labels A and B will not match if B is excluded, even if A is included.
// If a milestoneName/milestoneId are set, ignoreMilenameName/ignoreMilestoneIds are ignored.
// GitHub does not appear to support searching for all issues with milestones (not lacking a milestone). "-no:milestone" does not work.
// GitHub does not appear to support searching for all issues with labels (not lacking a label). "-no:label" does not work.
// All indicated labels must be present
if (this.labels) {
if (((_a = this.labels) === null || _a === void 0 ? void 0 : _a.length) > 2 && ((_b = this.labels) === null || _b === void 0 ? void 0 : _b.startsWith('"')) && ((_c = this.labels) === null || _c === void 0 ? void 0 : _c.endsWith('"'))) {
this.labels = this.labels.substring(1, this.labels.length - 2);
}
this.labelsSet = (_d = this.labels) === null || _d === void 0 ? void 0 : _d.split(',');
for (const str of this.labelsSet) {
if (str != "") {
query = query.concat(` label:"${str}"`);
}
}
}
// The "involves" qualifier to find issues that in some way involve a certain user.
// It is a logical OR between the author, assignee, and mentions.
if (this.involves) {
this.involvesSet = (_e = this.involves) === null || _e === void 0 ? void 0 : _e.split(',');
for (const str of this.involvesSet) {
if (str != "") {
query = query.concat(` involves:"${str}"`);
}
}
}
if (this.ignoreLabels) {
if (this.ignoreLabels == "*" && !this.labels) { // only if unlabeled
query = query.concat(` no:label`);
this.ignoreAllWithLabels = true;
}
else {
this.ignoreLabelsSet = (_f = this.ignoreLabels) === null || _f === void 0 ? void 0 : _f.split(',');
for (const str of this.ignoreLabelsSet) {
if (str != "") {
query = query.concat(` -label:"${str}"`);
}
}
}
}
if (this.milestoneName) {
query = query.concat(` milestone:"${this.milestoneName}"`);
}
else if (this.ignoreMilestoneNames) {
if (this.ignoreMilestoneNames == "*") {
query = query.concat(` no:milestone`);
this.ignoreAllWithMilestones = true;
}
else if (this.ignoreMilestoneIds) {
this.ignoreMilestoneNamesSet = this.ignoreMilestoneNames.split(',');
this.ignoreMilestoneIdsSet = this.ignoreMilestoneIds.split(',');
for (const str of this.ignoreMilestoneNamesSet) {
if (str != "") {
query = query.concat(` -milestone:"${str}"`);
}
}
}
}
return query;
}
// This is necessary because GitHub sometimes returns incorrect results,
// and because issues may get modified while we are processing them.
validateIssue(issue) {
if (this.ignoreAllWithLabels) {
// Validate that the issue does not have labels
if (issue.labels && issue.labels.length !== 0) {
console.log(`Issue ${issue.number} skipped due to label found after querying for no:label.`);
return false;
}
}
else {
// Make sure all labels we wanted are present.
if ((!issue.labels || issue.labels.length == 0) && this.labelsSet.length > 0) {
console.log(`Issue ${issue.number} skipped due to not having a required label set. No labels found.`);
return false;
}
for (const str of this.labelsSet) {
if (!issue.labels.includes(str)) {
console.log(`Issue ${issue.number} skipped due to not having a required label set.`);
return false;
}
}
// Make sure no labels we wanted to ignore are present.
if (issue.labels && issue.labels.length > 0) {
for (const str of this.ignoreLabelsSet) {
if (issue.labels.includes(str)) {
console.log(`Issue ${issue.number} skipped due to having an ignore label set: ${str}`);
return false;
}
}
}
}
if (this.ignoreAllWithMilestones) {
// Validate that the issue does not have a milestone.
if (issue.milestoneId != null) {
console.log(`Issue ${issue.number} skipped due to milestone found after querying for no:milestone.`);
return false;
}
}
else {
// Make sure milestone is present, if required.
if (this.milestoneId != undefined && issue.milestoneId != +this.milestoneId) {
console.log(`Issue ${issue.number} skipped due to not having required milsetone id ${this.milestoneId}. Had: ${issue.milestoneId}`);
return false;
}
// Make sure a milestones we wanted to ignore is not present.
if (issue.milestoneId != null) {
for (const str of this.ignoreMilestoneIdsSet) {
if (issue.milestoneId == +str) {
console.log(`Issue ${issue.number} skipped due to milestone ${issue.milestoneId} found in list of ignored milestone IDs.`);
return false;
}
}
}
}
// Verify the issue has a sufficient number of upvotes
let upvotes = 0;
if (issue.reactions) {
upvotes = issue.reactions['+1'];
}
if (this.minimumVotes != undefined) {
if (upvotes < this.minimumVotes) {
console.log(`Issue ${issue.number} skipped due to not having at least ${this.minimumVotes} upvotes. Had: ${upvotes}`);
return false;
}
}
// Verify the issue does not have too many upvotes
if (this.maximumVotes != undefined) {
if (upvotes > this.maximumVotes) {
console.log(`Issue ${issue.number} skipped due to having more than ${this.maximumVotes} upvotes. Had: ${upvotes}`);
return false;
}
}
return true;
}
}
exports.ActionBase = ActionBase;
//# sourceMappingURL=ActionBase.js.map
+187
View File
@@ -0,0 +1,187 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Issue } from '../api/api'
export class ActionBase {
constructor(
private labels?: string,
private milestoneName?: string,
private milestoneId?: string,
private ignoreLabels?: string,
private ignoreMilestoneNames?: string,
private ignoreMilestoneIds?: string,
private minimumVotes?: number,
private maximumVotes?: number,
private involves?: string,
) {}
private labelsSet: string[] = [];
private ignoreLabelsSet: string[] = [];
private ignoreMilestoneNamesSet: string[] = [];
private ignoreMilestoneIdsSet: string[] = [];
private ignoreAllWithLabels: boolean = false;
private ignoreAllWithMilestones: boolean = false;
private involvesSet: string[] = [];
buildQuery(baseQuery: string): string {
let query = baseQuery;
console.log(`labels: ${this.labels}`);
console.log(`milestoneName: ${this.milestoneName}`);
console.log(`milestoneId: ${this.milestoneId}`);
console.log(`ignoreLabels: ${this.ignoreLabels}`);
console.log(`ignoreMilestoneNames: ${this.ignoreMilestoneNames}`);
console.log(`ignoreMilestoneIds: ${this.ignoreMilestoneIds}`);
console.log(`minimumVotes: ${this.minimumVotes}`);
console.log(`maximumVotes: ${this.maximumVotes}`);
console.log(`involves: ${this.involves}`);
// Both milestone name and milestone Id must be provided and must match.
// The name is used to construct the query, which does not accept ID.
// The ID is used for comparisons with issue data, which does not include the name.
// TODO: Figure out a way to convert either from milestone name to ID, or vice versa.
// If label inclusion and exclusion are mixed, exclusion will take precedence.
// For example, an issue with both labels A and B will not match if B is excluded, even if A is included.
// If a milestoneName/milestoneId are set, ignoreMilenameName/ignoreMilestoneIds are ignored.
// GitHub does not appear to support searching for all issues with milestones (not lacking a milestone). "-no:milestone" does not work.
// GitHub does not appear to support searching for all issues with labels (not lacking a label). "-no:label" does not work.
// All indicated labels must be present
if (this.labels) {
if (this.labels?.length > 2 && this.labels?.startsWith('"') && this.labels?.endsWith('"')) {
this.labels = this.labels.substring(1, this.labels.length - 2);
}
this.labelsSet = this.labels?.split(',');
for (const str of this.labelsSet) {
if (str != "") {
query = query.concat(` label:"${str}"`);
}
}
}
// The "involves" qualifier to find issues that in some way involve a certain user.
// It is a logical OR between the author, assignee, and mentions.
if (this.involves) {
this.involvesSet = this.involves?.split(',');
for (const str of this.involvesSet) {
if (str != "") {
query = query.concat(` involves:"${str}"`)
}
}
}
if (this.ignoreLabels) {
if (this.ignoreLabels == "*" && !this.labels) { // only if unlabeled
query = query.concat(` no:label`)
this.ignoreAllWithLabels = true;
} else {
this.ignoreLabelsSet = this.ignoreLabels?.split(',');
for (const str of this.ignoreLabelsSet) {
if (str != "") {
query = query.concat(` -label:"${str}"`)
}
}
}
}
if (this.milestoneName) {
query = query.concat(` milestone:"${this.milestoneName}"`)
}
else if (this.ignoreMilestoneNames) {
if (this.ignoreMilestoneNames == "*") {
query = query.concat(` no:milestone`)
this.ignoreAllWithMilestones = true;
} else if (this.ignoreMilestoneIds) {
this.ignoreMilestoneNamesSet = this.ignoreMilestoneNames.split(',');
this.ignoreMilestoneIdsSet = this.ignoreMilestoneIds.split(',');
for (const str of this.ignoreMilestoneNamesSet) {
if (str != "") {
query = query.concat(` -milestone:"${str}"`)
}
}
}
}
return query;
}
// This is necessary because GitHub sometimes returns incorrect results,
// and because issues may get modified while we are processing them.
validateIssue(issue: Issue): boolean {
if (this.ignoreAllWithLabels) {
// Validate that the issue does not have labels
if (issue.labels && issue.labels.length !== 0) {
console.log(`Issue ${issue.number} skipped due to label found after querying for no:label.`);
return false;
}
} else {
// Make sure all labels we wanted are present.
if ((!issue.labels || issue.labels.length == 0) && this.labelsSet.length > 0) {
console.log(`Issue ${issue.number} skipped due to not having a required label set. No labels found.`);
return false;
}
for (const str of this.labelsSet) {
if (!issue.labels.includes(str)) {
console.log(`Issue ${issue.number} skipped due to not having a required label set.`);
return false;
}
}
// Make sure no labels we wanted to ignore are present.
if (issue.labels && issue.labels.length > 0) {
for (const str of this.ignoreLabelsSet) {
if (issue.labels.includes(str)) {
console.log(`Issue ${issue.number} skipped due to having an ignore label set: ${str}`);
return false;
}
}
}
}
if (this.ignoreAllWithMilestones) {
// Validate that the issue does not have a milestone.
if (issue.milestoneId != null) {
console.log(`Issue ${issue.number} skipped due to milestone found after querying for no:milestone.`);
return false;
}
} else {
// Make sure milestone is present, if required.
if (this.milestoneId != undefined && issue.milestoneId != +this.milestoneId) {
console.log(`Issue ${issue.number} skipped due to not having required milsetone id ${this.milestoneId}. Had: ${issue.milestoneId}`);
return false;
}
// Make sure a milestones we wanted to ignore is not present.
if (issue.milestoneId != null) {
for (const str of this.ignoreMilestoneIdsSet) {
if (issue.milestoneId == +str) {
console.log(`Issue ${issue.number} skipped due to milestone ${issue.milestoneId} found in list of ignored milestone IDs.`);
return false;
}
}
}
}
// Verify the issue has a sufficient number of upvotes
let upvotes = 0;
if (issue.reactions) {
upvotes = issue.reactions['+1'];
}
if (this.minimumVotes != undefined) {
if (upvotes < this.minimumVotes) {
console.log(`Issue ${issue.number} skipped due to not having at least ${this.minimumVotes} upvotes. Had: ${upvotes}`);
return false;
}
}
// Verify the issue does not have too many upvotes
if (this.maximumVotes != undefined) {
if (upvotes > this.maximumVotes) {
console.log(`Issue ${issue.number} skipped due to having more than ${this.maximumVotes} upvotes. Had: ${upvotes}`);
return false;
}
}
return true;
}
}
+99
View File
@@ -0,0 +1,99 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.logErrorToIssue = exports.errorLoggingIssue = exports.getRateLimit = exports.daysAgoToHumanReadbleDate = exports.daysAgoToTimestamp = exports.loadLatestRelease = exports.normalizeIssue = exports.getRequiredInput = exports.getInput = void 0;
const core = require("@actions/core");
const github_1 = require("@actions/github");
const axios_1 = require("axios");
const octokit_1 = require("../api/octokit");
exports.getInput = (name) => core.getInput(name) || undefined;
exports.getRequiredInput = (name) => core.getInput(name, { required: true });
exports.normalizeIssue = (issue) => {
let { body, title } = issue;
body = body !== null && body !== void 0 ? body : '';
title = title !== null && title !== void 0 ? title : '';
const isBug = body.includes('bug_report_template') || /Issue Type:.*Bug.*/.test(body);
const isFeatureRequest = body.includes('feature_request_template') || /Issue Type:.*Feature Request.*/.test(body);
const cleanse = (str) => {
let out = str
.toLowerCase()
.replace(/<!--.*-->/gu, '')
.replace(/.* version: .*/gu, '')
.replace(/issue type: .*/gu, '')
.replace(/vs ?code/gu, '')
.replace(/we have written.*please paste./gu, '')
.replace(/steps to reproduce:/gu, '')
.replace(/does this issue occur when all extensions are disabled.*/gu, '')
.replace(/!?\[[^\]]*\]\([^)]*\)/gu, '')
.replace(/\s+/gu, ' ')
.replace(/```[^`]*?```/gu, '');
while (out.includes(`<details>`) &&
out.includes('</details>') &&
out.indexOf(`</details>`) > out.indexOf(`<details>`)) {
out = out.slice(0, out.indexOf('<details>')) + out.slice(out.indexOf(`</details>`) + 10);
}
return out;
};
return {
body: cleanse(body),
title: cleanse(title),
issueType: isBug ? 'bug' : isFeatureRequest ? 'feature_request' : 'unknown',
};
};
exports.loadLatestRelease = async (quality) => (await axios_1.default.get(`https://vscode-update.azurewebsites.net/api/update/darwin/${quality}/latest`)).data;
exports.daysAgoToTimestamp = (days) => +new Date(Date.now() - days * 24 * 60 * 60 * 1000);
exports.daysAgoToHumanReadbleDate = (days) => new Date(Date.now() - days * 24 * 60 * 60 * 1000).toISOString().replace(/\.\d{3}\w$/, '');
exports.getRateLimit = async (token) => {
const usageData = (await new github_1.GitHub(token).rateLimit.get()).data.resources;
const usage = {};
['core', 'graphql', 'search'].forEach(async (category) => {
usage[category] = 1 - usageData[category].remaining / usageData[category].limit;
});
return usage;
};
exports.errorLoggingIssue = (() => {
try {
const repo = github_1.context.repo.owner.toLowerCase() + '/' + github_1.context.repo.repo.toLowerCase();
if (repo === 'microsoft/vscode-cpptools') {
return { repo: 'vscode-cpptools', owner: 'Microsoft', issue: 6282 };
}
else if (exports.getInput('errorLogIssueNumber')) {
return { ...github_1.context.repo, issue: +exports.getRequiredInput('errorLogIssueNumber') };
}
else {
return undefined;
}
}
catch (e) {
console.error(e);
return undefined;
}
})();
exports.logErrorToIssue = async (message, ping, token) => {
// Attempt to wait out abuse detection timeout if present
await new Promise((resolve) => setTimeout(resolve, 10000));
const dest = exports.errorLoggingIssue;
if (!dest)
return console.log('no error logging repo defined. swallowing error:', message);
return new octokit_1.OctoKitIssue(token, { owner: dest.owner, repo: dest.repo }, { number: dest.issue }, { readonly: !!exports.getInput('readonly') })
.postComment(`
Workflow: ${github_1.context.workflow}
Error: ${message}
Issue: ${ping ? `${github_1.context.repo.owner}/${github_1.context.repo.repo}#` : ''}${github_1.context.issue.number}
Repo: ${github_1.context.repo.owner}/${github_1.context.repo.repo}
<!-- Context:
${JSON.stringify(github_1.context, null, 2)
.replace(/<!--/gu, '<@--')
.replace(/-->/gu, '--@>')
.replace(/\/|\\/gu, 'slash-')}
-->
`);
};
//# sourceMappingURL=utils.js.map
+119
View File
@@ -0,0 +1,119 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as core from '@actions/core'
import { context, GitHub } from '@actions/github'
import axios from 'axios'
import { OctoKitIssue } from '../api/octokit'
export const getInput = (name: string) => core.getInput(name) || undefined
export const getRequiredInput = (name: string) => core.getInput(name, { required: true })
export const normalizeIssue = (issue: {
body: string
title: string
}): { body: string; title: string; issueType: 'bug' | 'feature_request' | 'unknown' } => {
let { body, title } = issue
body = body ?? ''
title = title ?? ''
const isBug = body.includes('bug_report_template') || /Issue Type:.*Bug.*/.test(body)
const isFeatureRequest =
body.includes('feature_request_template') || /Issue Type:.*Feature Request.*/.test(body)
const cleanse = (str: string) => {
let out = str
.toLowerCase()
.replace(/<!--.*-->/gu, '')
.replace(/.* version: .*/gu, '')
.replace(/issue type: .*/gu, '')
.replace(/vs ?code/gu, '')
.replace(/we have written.*please paste./gu, '')
.replace(/steps to reproduce:/gu, '')
.replace(/does this issue occur when all extensions are disabled.*/gu, '')
.replace(/!?\[[^\]]*\]\([^)]*\)/gu, '')
.replace(/\s+/gu, ' ')
.replace(/```[^`]*?```/gu, '')
while (
out.includes(`<details>`) &&
out.includes('</details>') &&
out.indexOf(`</details>`) > out.indexOf(`<details>`)
) {
out = out.slice(0, out.indexOf('<details>')) + out.slice(out.indexOf(`</details>`) + 10)
}
return out
}
return {
body: cleanse(body),
title: cleanse(title),
issueType: isBug ? 'bug' : isFeatureRequest ? 'feature_request' : 'unknown',
}
}
export interface Release {
productVersion: string
timestamp: number
version: string
}
export const loadLatestRelease = async (quality: 'stable' | 'insider'): Promise<Release | undefined> =>
(await axios.get(`https://vscode-update.azurewebsites.net/api/update/darwin/${quality}/latest`)).data
export const daysAgoToTimestamp = (days: number): number => +new Date(Date.now() - days * 24 * 60 * 60 * 1000)
export const daysAgoToHumanReadbleDate = (days: number) =>
new Date(Date.now() - days * 24 * 60 * 60 * 1000).toISOString().replace(/\.\d{3}\w$/, '')
export const getRateLimit = async (token: string) => {
const usageData = (await new GitHub(token).rateLimit.get()).data.resources
const usage = {} as { core: number; graphql: number; search: number }
;(['core', 'graphql', 'search'] as const).forEach(async (category) => {
usage[category] = 1 - usageData[category].remaining / usageData[category].limit
})
return usage
}
export const errorLoggingIssue = (() => {
try {
const repo = context.repo.owner.toLowerCase() + '/' + context.repo.repo.toLowerCase()
if (repo === 'microsoft/vscode-cpptools') {
return { repo: 'vscode-cpptools', owner: 'Microsoft', issue: 6282 }
} else if (getInput('errorLogIssueNumber')) {
return { ...context.repo, issue: +getRequiredInput('errorLogIssueNumber') }
} else {
return undefined
}
} catch (e) {
console.error(e)
return undefined
}
})()
export const logErrorToIssue = async (message: string, ping: boolean, token: string): Promise<void> => {
// Attempt to wait out abuse detection timeout if present
await new Promise((resolve) => setTimeout(resolve, 10000))
const dest = errorLoggingIssue
if (!dest) return console.log('no error logging repo defined. swallowing error:', message)
return new OctoKitIssue(token, { owner: dest.owner, repo: dest.repo }, { number: dest.issue }, { readonly: !!getInput('readonly') })
.postComment(`
Workflow: ${context.workflow}
Error: ${message}
Issue: ${ping ? `${context.repo.owner}/${context.repo.repo}#` : ''}${context.issue.number}
Repo: ${context.repo.owner}/${context.repo.repo}
<!-- Context:
${JSON.stringify(context, null, 2)
.replace(/<!--/gu, '<@--')
.replace(/-->/gu, '--@>')
.replace(/\/|\\/gu, 'slash-')}
-->
`)
}
+1437
View File
File diff suppressed because it is too large Load Diff
+21
View File
@@ -0,0 +1,21 @@
{
"name": "vscode-cpptools-github-triage-actions",
"version": "1.0.0",
"description": "GitHub Actions used by VS Code cpptools for triaging issues",
"scripts": {
"build": "tsc",
"lint": "eslint -c .eslintrc --fix --ext .ts .",
"watch": "tsc --watch"
},
"keywords": [],
"author": "",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^2.1.1",
"axios": "^0.21.1"
},
"devDependencies": {
"eslint": "^6.8.0",
"typescript": "^3.8.3"
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "es2019",
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"removeComments": false,
"resolveJsonModule": true,
"sourceMap": true,
"lib": [
"es2020"
]
},
"exclude": [
"**/*.test.ts",
"**/vm-filesystem/**"
]
}
@@ -0,0 +1,26 @@
name: By Design closer - debugger
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: by design,debugger
ignoreLabels: language service,internal
closeDays: 0
closeComment: "This issue has been closed automatically because it's labeled as 'by design'."
+28
View File
@@ -0,0 +1,28 @@
name: By Design Closer
on:
schedule:
- cron: 0 12 * * * # Run at 12:00 PM UTC (4:00 AM PST, 5:00 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: by design
ignoreLabels: debugger,Feature Request,more info needed,internal
closeDays: 60
closeComment: "This issue has been closed automatically because it's labeled as 'by design' and has not had recent activity."
pingDays: 80
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if it is no longer relevant."
+55
View File
@@ -0,0 +1,55 @@
name: CI (Linux)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 14.16.x
- name: Install Dependencies
run: yarn install
working-directory: Extension
- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension
- name: Run languageServer integration tests
uses: GabrielBB/[email protected]
with:
run: yarn run integrationTests
working-directory: Extension
+55
View File
@@ -0,0 +1,55 @@
name: CI (Mac)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 14.16.x
- name: Install Dependencies
run: yarn install --network-timeout 100000
working-directory: Extension
- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
uses: GabrielBB/[email protected]
with:
run: yarn run unitTests
working-directory: Extension
- name: Run languageServer integration tests
uses: GabrielBB/[email protected]
with:
run: yarn run integrationTests
working-directory: Extension
+51
View File
@@ -0,0 +1,51 @@
name: CI (Windows)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 14.16.x
- name: Install Dependencies
run: yarn install
working-directory: Extension
- name: Generate hashes for runtime dependency packages
run: yarn run generatePackageHashes
working-directory: Extension
- name: Compile Sources
run: yarn run compile
working-directory: Extension
- name: Validate Extension/package.json
run: yarn run pr-check
working-directory: Extension
- name: Run Linter
run: yarn run lint
working-directory: Extension
- name: Compile Test Sources
run: yarn run pretest
working-directory: Extension
- name: Run unit tests
run: yarn run unitTests
working-directory: Extension
- name: Run languageServer integration tests
run: yarn run integrationTests
working-directory: Extension
+28
View File
@@ -0,0 +1,28 @@
name: Duplicate Closer
on:
schedule:
- cron: 10 12 * * * # Run at 12:10 PM UTC (4:10 AM PST, 5:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: duplicate
ignoreLabels: debugger,Feature Request,more info needed,by design,internal
closeDays: 60
closeComment: "This issue has been closed automatically because it's labeled as a 'duplicate' and has not had recent activity."
pingDays: 80
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if it is no longer relevant."
@@ -0,0 +1,26 @@
name: External closer - debugger
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: external,debugger
ignoreLabels: language service,internal
closeDays: 0
closeComment: "This issue has been closed automatically because it's labeled as 'external'."
@@ -0,0 +1,30 @@
name: Feature Request Closer (no milestone)
on:
schedule:
- cron: 50 11 * * * # Run at 11:50 AM UTC (3:50 AM PST, 4:50 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: Feature Request
ignoreLabels: debugger,internal
addLabels: more votes needed
closeDays: 60
maximumVotes: 2
closeComment: "This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog."
setMilestoneId: 30
ignoreMilestoneNames: "*"
@@ -0,0 +1,30 @@
name: Feature Request Closer (Triage)
on:
schedule:
- cron: 40 11 * * * # Run at 11:40 AM UTC (3:40 AM PST, 4:40 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: Feature Request
ignoreLabels: debugger,internal
addLabels: more votes needed
closeDays: 60
maximumVotes: 2
closeComment: "This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog."
milestoneName: Triage
milestoneId: 30
@@ -0,0 +1,31 @@
name: Feature Request Reopener
on:
schedule:
- cron: 20 12 * * * # Run at 12:20 PM UTC (4:20 AM PST, 5:20 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Run Reopener
uses: ./.github/actions/Reopener
with:
readonly: ${{ github.event.inputs.readonly }}
alsoApplyToOpenIssues: true
reopenComment: This feature request has received enough votes to be added to our backlog.
labels: Feature Request
minimumVotes: 3
ignoreLabels: debugger,internal
milestoneId: 30
milestoneName: Triage
setMilestoneId: 28
removeLabels: more votes needed
@@ -0,0 +1,26 @@
name: Investigate closer - debugger
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: investigate,debugger
ignoreLabels: language service,internal
closeDays: 180
closeComment: "This issue has been closed automatically because it has not had recent activity."
@@ -0,0 +1,26 @@
name: Investigate Costing closer - debugger
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: "investigate: costing,debugger"
ignoreLabels: language service,internal
closeDays: 180
closeComment: "This issue has been closed automatically because it has not had recent activity."
+25
View File
@@ -0,0 +1,25 @@
name: Locker
on:
schedule:
- cron: 30 11 * * * # Run at 11:30 AM UTC (3:30 AM PST, 4:30 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Run Locker
uses: ./.github/actions/Locker
with:
readonly: ${{ github.event.inputs.readonly }}
daysSinceClose: 45
daysSinceUpdate: 3
ignoreLabels: more votes needed,debugger,internal
@@ -0,0 +1,29 @@
name: More Info Needed Closer - debugger
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: more info needed,debugger
ignoreLabels: language service,internal
involves: wardengnaw,pieandcakes,calgagi
closeDays: 14
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity."
pingDays: 7
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
@@ -0,0 +1,28 @@
name: More Info Needed Closer
on:
schedule:
- cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: more info needed
ignoreLabels: debugger,internal
closeDays: 60
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity."
pingDays: 80
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
@@ -0,0 +1,29 @@
name: Question Closer - debugger
on:
schedule:
- cron: 20 11 * * * # Run at 11:20 AM UTC (3:20 AM PST, 4:20 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: question,debugger
ignoreLabels: language service,internal
involves: wardengnaw,pieandcakes,calgagi
closeDays: 14
closeComment: "This issue has been closed automatically because it's labeled as a 'question' and has not had recent activity."
pingDays: 7
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the question has been answered."
+28
View File
@@ -0,0 +1,28 @@
name: Question Closer
on:
schedule:
- cron: 20 11 * * * # Run at 11:20 AM UTC (3:20 AM PST, 4:20 AM PDT)
workflow_dispatch:
inputs:
readonly:
description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub"
default: false
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
- name: Install Actions
run: cd ./.github/actions && npm install --production && cd ../..
- name: Stale Closer
uses: ./.github/actions/StaleCloser
with:
readonly: ${{ github.event.inputs.readonly }}
labels: question
ignoreLabels: debugger,internal
closeDays: 60
closeComment: "This issue has been closed automatically because it's labeled as a 'question' and has not had recent activity."
pingDays: 80
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the question has been answered."
+299
View File
@@ -0,0 +1,299 @@
NOTICES AND INFORMATION
Do Not Translate or Localize
This software incorporates material from third parties. Microsoft makes certain
open source code available at https://3rdpartysource.microsoft.com, or you may
send a check or money order for US $5.00, including the product name, the open
source component name, and version number, to:
Source Code Compliance Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
USA
Notwithstanding any other terms, you may reverse engineer this software to the
extent required to debug changes to any libraries licensed under the GNU Lesser
General Public License.
---
LLDB-MI
==============================================================================
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
==============================================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
---- LLVM Exceptions to the Apache 2.0 License ----
As an exception, if, as a result of your compiling your source code, portions
of this Software are embedded into an Object form of such source code, you
may redistribute such embedded portions in such Object form without complying
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
In addition, if you combine or link compiled forms of this Software with
software that is licensed under the GPLv2 ("Combined Software") and if a
court of competent jurisdiction determines that the patent provision (Section
3), the indemnity provision (Section 9) or other Section of the License
conflicts with the conditions of the GPLv2, you may retroactively and
prospectively choose to deem waived or otherwise exclude such Section(s) of
the License, but only in their entirety and only with respect to the Combined
Software.
==============================================================================
Software from third parties included in the LLVM Project:
==============================================================================
The LLVM Project contains third party software which is under different license
terms. All such code will be identified clearly using at least one of two
mechanisms:
1) It will be in a separate directory tree with its own `LICENSE.txt` or
`LICENSE` file at the top containing the specific license and restrictions
which apply to that software, or
2) It will contain specific license and restriction terms at the top of every
file.
==============================================================================
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
==============================================================================
University of Illinois/NCSA
Open Source License
Copyright (c) 2010 Apple Inc.
All rights reserved.
Developed by:
LLDB Team
http://lldb.llvm.org/
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal with
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.
* Neither the names of the LLDB Team, copyright holders, nor the names of
its contributors may be used to endorse or promote products derived from
this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.
---
+125
View File
@@ -0,0 +1,125 @@
variables:
llvm_repo: https://github.com/llvm/llvm-project.git
llvm_branch: release/10.x
llvm_build_type: Release
llvm_arch: x86_64
llvm_additional_parameters: "-DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_INCLUDE_TESTS=OFF -DLLDB_BUILD_FRAMEWORK=1"
# TODO: fix lldb_mi_repo and lldb_mi_branch (https://github.com/lldb-tools/lldb-mi/pull/37 and https://github.com/lldb-tools/lldb-mi/pull/39)
lldb_mi_repo: https://github.com/WardenGnaw/lldb-mi # TODO: Change to lldb-tools
lldb_mi_branch: release/cpptools # TODO: Change to main
lldb_mi_additional_parameters: "-DUSE_LLDB_FRAMEWORK=1"
jobs:
- job: LLDB_MI
timeoutInMinutes: 360
pool:
vmImage: 'macOS-latest'
steps:
- task: CmdLine@2
displayName: 'Install Dependencies'
inputs:
script: brew install cmake ninja swig
continueOnError: true
- task: CmdLine@2
displayName: 'Build LLVM Project'
inputs:
script: |
log_and_exec_cmd() {
echo "##[command] $1"
$1
}
log_and_exec_cmd "cd $(Build.StagingDirectory)"
log_and_exec_cmd "mkdir $(Build.StagingDirectory)/buildspace"
log_and_exec_cmd "git clone $(llvm_repo) llvm-project"
log_and_exec_cmd "cd llvm-project"
log_and_exec_cmd "git checkout $(llvm_branch)"
log_and_exec_cmd "./lldb/scripts/macos-setup-codesign.sh"
log_and_exec_cmd "cd .."
log_and_exec_cmd "mkdir $(Build.StagingDirectory)/buildspace/llvm-inst"
log_and_exec_cmd "mkdir $(Build.StagingDirectory)/buildspace/llvm-build"
log_and_exec_cmd "cd $(Build.StagingDirectory)/buildspace/llvm-build"
log_and_exec_cmd "cmake -DLLVM_ENABLE_PROJECTS=clang;lldb -DCMAKE_BUILD_TYPE=$(llvm_build_type) -DCMAKE_INSTALL_PREFIX=$(Build.StagingDirectory)/buildspace/llvm-inst/ -DCMAKE_OSX_ARCHITECTURES=$(llvm_arch) $(llvm_additional_parameters) -GNinja $(Build.StagingDirectory)/llvm-project/llvm"
if [[ $? -ne 0 ]]
then
echo "##[error] cmake llvm failed"
cat $(Build.SourcesDirectory)/buildspace/llvm-build/CMakeFiles/CMakeError.log
exit 1
fi
log_and_exec_cmd ninja
if [[ $? -ne 0 ]]
then
echo "##[error] ninja failed"
exit 1
fi
### Workaround for https://github.com/llvm/llvm-project/issues/108
log_and_exec_cmd "ninja install"
# Remove conflicting LLDB.framework file.
log_and_exec_cmd "rm -rf $(Build.StagingDirectory)/buildspace/llvm-inst/Library/Frameworks/LLDB.framework"
# Build lldb/sources/API first
log_and_exec_cmd "cmake -P $(Build.StagingDirectory)/buildspace/llvm-build/tools/lldb/source/API/cmake_install.cmake"
### End of Workaround
log_and_exec_cmd "ninja install"
if [[ $? -ne 0 ]]
then
echo "##[error] ninja install failed"
exit 1
fi
echo "##[section] Build LLDB-MI"
# Download lldb-mi and build it against our custom installation.
log_and_exec_cmd "cd $(Build.StagingDirectory)/buildspace"
log_and_exec_cmd "git clone $(lldb_mi_repo) lldb-mi"
log_and_exec_cmd "cd lldb-mi"
log_and_exec_cmd "git checkout $(lldb_mi_branch)"
# Create a separate build directory for building lldb-mi.
log_and_exec_cmd "mkdir build"
log_and_exec_cmd "cd build"
log_and_exec_cmd "cmake -DCMAKE_PREFIX_PATH=$(Build.StagingDirectory)/buildspace/llvm-inst/ $(lldb_mi_additional_parameters) -GNinja .."
log_and_exec_cmd "ninja"
if [[ $? -ne 0 ]]
then
echo "##[error] ninja failed"
exit 1
fi
log_and_exec_cmd "mkdir $(Build.StagingDirectory)/publish"
log_and_exec_cmd "cd $(Build.StagingDirectory)/publish"
log_and_exec_cmd "mkdir -p ./debugAdapters/lldb-mi/bin"
log_and_exec_cmd "cp $(Build.StagingDirectory)/buildspace/lldb-mi/build/src/lldb-mi ./debugAdapters/lldb-mi/bin/."
# Set rpath for finding LLDB.Framework
log_and_exec_cmd "install_name_tool -add_rpath @rpath/LLDB.framework/Versions/A/LLDB ./debugAdapters/lldb-mi/bin/lldb-mi"
# Set rpath for App Store XCode LLDB.Framework
log_and_exec_cmd "install_name_tool -add_rpath /Applications/Xcode.app/Contents/SharedFrameworks/ ./debugAdapters/lldb-mi/bin/lldb-mi"
# Set rpath for XCode CLI LLDB.Framework
log_and_exec_cmd "install_name_tool -add_rpath /Library/Developer/CommandLineTools/Library/PrivateFrameworks/ ./debugAdapters/lldb-mi/bin/lldb-mi"
# Set rpath next to the lldb-mi executable LLDB.Framework
log_and_exec_cmd "install_name_tool -add_rpath @executable_path/. ./debugAdapters/lldb-mi/bin/lldb-mi"
# Grab NOTICE.TXT
cp $(Build.SourcesDirectory)/Build/lldb-mi/NOTICE.TXT ./debugAdapters/lldb-mi/.
# Build can be found at https://dev.azure.com/ms/vscode-cpptools/_build?definitionId=313
# Click on the build and select 'Artifacts'
- task: PublishPipelineArtifact@1
displayName: 'Publish LLDB-MI'
inputs:
targetPath: '$(Build.StagingDirectory)/publish'
artifactName: 'lldb-mi'
+8 -2
View File
@@ -1,3 +1,9 @@
## Microsoft Open Source Code of Conduct
# Microsoft Open Source Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact opencode@microsoft.com with any additional questions or comments.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
Resources:
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
+2 -2
View File
@@ -6,14 +6,14 @@
* File an [issue](https://github.com/Microsoft/vscode-cpptools/issues) and a [pull request](https://github.com/Microsoft/vscode-cpptools/pulls) with the change and we will review it.
* If the change affects functionality, add a line describing the change to [**CHANGELOG.md**](Extension/CHANGELOG.md).
* Try and add a test in [**test/extension.test.ts**](Extension/test/unitTests/extension.test.ts).
* Run tests via opening the [**Extension**](https://github.com/Microsoft/vscode-cpptools/tree/master/Extension) folder in Visual Studio Code, selecting the "Launch Tests" configuration in the Debug pane, and choosing "Start Debugging".
* Run tests via opening the [**Extension**](https://github.com/Microsoft/vscode-cpptools/tree/main/Extension) folder in Visual Studio Code, selecting the "Launch Tests" configuration in the Debug pane, and choosing "Start Debugging".
## About the Code
* Execution starts in the `activate` method in [**main.ts**](Extension/src/main.ts).
* `processRuntimeDependencies` handles the downloading and installation of the OS-dependent files. Downloading code exists in [**packageManager.ts**](Extension/src/packageManager.ts).
* `downloadCpptoolsJsonPkg` handles the **cpptools.json**, which can be used to enable changes to occur mid-update, such as turning the `intelliSenseEngine` to `"Default"` for a certain percentage of users.
* The debugger code is in the [**Debugger**](https://github.com/Microsoft/vscode-cpptools/tree/master/Extension/src/Debugger) folder.
* The debugger code is in the [**Debugger**](https://github.com/Microsoft/vscode-cpptools/tree/main/Extension/src/Debugger) folder.
* [**LanguageServer/client.ts**](Extension/src/LanguageServer/client.ts) handles various language server functionality.
* [**LanguageServer/configurations.ts**](Extension/src/LanguageServer/configurations.ts) handles functionality related to **c_cpp_properties.json**.
* [**telemetry.ts**](Extension/src/telemetry.ts): Telemetry data gets sent to either `logLanguageServerEvent` or `logDebuggerEvent`.
+4
View File
@@ -0,0 +1,4 @@
*.js
test/**/index.ts
test/**/runTest.ts
tools/prepublish.js
+147
View File
@@ -0,0 +1,147 @@
module.exports = {
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint",
"eslint-plugin-jsdoc",
"@typescript-eslint/eslint-plugin-tslint",
"eslint-plugin-import",
],
"rules": {
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/indent": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-arguments": "error",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"arrow-body-style": "error",
"comma-dangle": "error",
"constructor-super": "error",
"curly": "error",
"eol-last": "error",
"eqeqeq": [
"error",
"always"
],
"import/no-default-export": "error",
"import/no-unassigned-import": "error",
"jsdoc/no-types": "error",
"new-parens": "error",
"no-bitwise": "error",
"no-caller": "error",
"no-cond-assign": "error",
"no-debugger": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-invalid-this": "error",
"no-irregular-whitespace": "error",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1, "maxBOF": 0}],
"no-new-wrappers": "error",
"no-redeclare": "error",
"no-return-await": "error",
"no-sequences": "error",
"no-sparse-arrays": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-unsafe-finally": "error",
"no-unused-expressions": "error",
"no-unused-labels": "error",
"no-var": "error",
"one-var": [
"error",
"never"
],
"prefer-const": "error",
"prefer-object-spread": "error",
"space-in-parens": [
"error",
"never"
],
"spaced-comment": [
"error",
"always"
],
"use-isnan": "error",
"valid-typeof": "error",
"yoda": "error",
"@typescript-eslint/tslint/config": [
"error",
{
"rules": {
"encoding": true,
"file-header": [
true,
".*"
],
"import-spacing": true,
"match-default-export-name": true,
"no-boolean-literal-compare": true,
"no-mergeable-namespace": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"number-literal-format": true,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"prefer-method-signature": true,
"prefer-while": true,
"typedef": [
true,
"variable-declaration",
"call-signature",
"variable-declaration-ignore-function"
],
"whitespace": [
true,
"check-branch",
"check-operator",
"check-separator",
"check-preblock",
"check-type"
]
}
}
]
}
};
+5 -2
View File
@@ -9,8 +9,10 @@ dist
server
debugAdapters
LLVM
bin/Microsoft.VSCode.CPP.*
bin/vcmeta.dll
bin/cpptools*
bin/*.dll
bin/.vs
bin/LICENSE.txt
# ignore lock files
install.lock
@@ -31,3 +33,4 @@ localized_string_ids.h
# ignore generate files. It will be generated when building
src/nativeStrings.ts
+36 -19
View File
@@ -77,13 +77,47 @@
"preLaunchTask": "TypeScript Compile Watch",
},
{
"name": "Launch Tests",
"name": "Launch Unit Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/unitTests"
"--extensionTestsPath=${workspaceFolder}/out/test/unitTests/index"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest"
},
{
"name": "Launch Integration Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/languageServer/index"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest",
},
{
"name": "Launch E2E IntelliSense features tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"C:/git/Vcls-vscode-test/SingleRootProject",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/IntelliSenseFeatures/index"
],
"stopOnEntry": false,
"sourceMaps": true,
@@ -98,22 +132,5 @@
"request": "attach",
"port": 5858
},
{
"name": "Launch Integration Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/languageServer"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "Pretest"
},
]
}
+8 -12
View File
@@ -20,9 +20,7 @@
"command": "yarn",
"args": [
"run",
"compile",
"--loglevel",
"silent"
"compile"
]
},
{
@@ -33,11 +31,11 @@
"command": "yarn",
"args": [
"run",
"tslint"
"lint"
],
"problemMatcher": {
"fileLocation": "absolute",
"source": "tslint",
"source": "lint",
"pattern": [
{
"regexp": "(ERROR:) ([a-zA-Z/:\\-\\.]*)\\[(\\d+), (\\d+)\\]: (.*)",
@@ -95,9 +93,7 @@
"command": "yarn",
"args": [
"run",
"compile-watch",
"--loglevel",
"silent"
"compile-watch"
],
"problemMatcher": [
{
@@ -121,10 +117,10 @@
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Compilation (.*?)starting…"
"regexp": "asset"
},
"endsPattern": {
"regexp": "Compilation (.*?)finished"
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}
@@ -162,10 +158,10 @@
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Compilation (.*?)starting…"
"regexp": "asset"
},
"endsPattern": {
"regexp": "Compilation (.*?)finished"
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}
+4
View File
@@ -25,6 +25,7 @@ jobs/**
tsconfig.json
test.tsconfig.json
tslint.json
.eslintrc.js
webpack.config.js
tscCompileList.txt
gulpfile.js
@@ -40,3 +41,6 @@ translations_auto_pr.js
# ignore i18n language files
i18n/**
# ignore node_modules
node_modules/
+512 -4
View File
@@ -1,5 +1,513 @@
# C/C++ for Visual Studio Code Change Log
## Version 1.3.1: April 19, 2021
### Bug Fixes
* Fix extension not activating when `/.vscode/c_cpp_properties.json` exists but no C/C++ file is open. [#7344](https://github.com/microsoft/vscode-cpptools/issues/7344)
* Fix logging for an invalid provider configuration.
* Yonggang Luo (@lygstate) [PR #7350](https://github.com/microsoft/vscode-cpptools/pull/7350)
* Fix extension activation with 32-bit Windows. [#7368](https://github.com/microsoft/vscode-cpptools/issues/7368)
## Version 1.3.0: April 13, 2021
### New Features
* Add language service support for CUDA.
* Add highlighting of matching conditional preprocessor statements. [#2565](https://github.com/microsoft/vscode-cpptools/issues/2565)
* Add commands for navigating to matching preprocessor directives in conditional groups. [#4779](https://github.com/microsoft/vscode-cpptools/issues/4779)
* Add native language service binaries for ARM64 Mac. [#6595](https://github.com/microsoft/vscode-cpptools/issues/6595)
### Enhancements
* Add parentheses to function calls when `C_Cpp.autocompleteAddParentheses` is `true`. [#882](https://github.com/microsoft/vscode-cpptools/issues/882)
* Add @retval support to the simplified view of doc comments. [#6816](https://github.com/microsoft/vscode-cpptools/issues/6816)
* Add auto-closing of include completion brackets. [#7054](https://github.com/microsoft/vscode-cpptools/issues/7054)
* Add support for nodeAddonIncludes with Yarn PnP.
* Mestery (@Mesterry) [PR #7123](https://github.com/microsoft/vscode-cpptools/pull/7123)
* Add a `C_Cpp.files.exclude` setting, which is identical to `files.exclude` except items aren't excluded from the Explorer view. [PR #7285](https://github.com/microsoft/vscode-cpptools/pull/7285)
### Bug Fixes
* Display integer values for char and unsigned char on hover instead of character symbols. [#1552](https://github.com/microsoft/vscode-cpptools/issues/1552)
* Fix directory iteration to check files.exclude and symlinks and use less memory. [#3123](https://github.com/microsoft/vscode-cpptools/issues/3123), [#4206](https://github.com/microsoft/vscode-cpptools/issues/4206), [#6864](https://github.com/microsoft/vscode-cpptools/issues/6864)
* Fix an issue with stale IntelliSense due to moving or renaming header files. [#3849](https://github.com/microsoft/vscode-cpptools/issues/3849)
* Fix go to definition on large macros. [#4306](https://github.com/microsoft/vscode-cpptools/issues/4306)
* Fix a spurious asterisk being inserted on a new line if the previous line starts with an asterisk. [#5733](https://github.com/microsoft/vscode-cpptools/issues/5733)
* Fix bug with placement new on Windows with gcc mode. [#6246](https://github.com/microsoft/vscode-cpptools/issues/6246)
* Fix size_t and placement new squiggles with clang on Windows. [#6573](https://github.com/microsoft/vscode-cpptools/issues/6573), [#7106](https://github.com/microsoft/vscode-cpptools/issues/7016)
* Fix an incorrect IntelliSense error squiggle when assigning to std::variant in clang mode. [#6623](https://github.com/microsoft/vscode-cpptools/issues/6623)
* Fix incorrect squiggle with range-v3 library. [#6639](https://github.com/microsoft/vscode-cpptools/issues/6639)
* Fix incorrect squiggle with auto parameters. [#6714](https://github.com/microsoft/vscode-cpptools/issues/6714)
* Fix (reimplement) nested document symbols. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830), [#7023](https://github.com/microsoft/vscode-cpptools/issues/7023), [#7024](https://github.com/microsoft/vscode-cpptools/issues/7024)
* Fix detection of bitness for compilers targeting esp32. [#7034](https://github.com/microsoft/vscode-cpptools/issues/7034)
* Fix include completion not working after creating a new header with a non-standard extension until a reload is done. [#6987](https://github.com/microsoft/vscode-cpptools/issues/6987), [#7061](https://github.com/microsoft/vscode-cpptools/issues/7061)
* Fix endless CPU/memory usage in cpptools-srv when certain templated type aliases are used. [#7085](https://github.com/microsoft/vscode-cpptools/issues/7085)
* Fix "No symbols found" sometimes occurring when a document first opens. [#7103](https://github.com/microsoft/vscode-cpptools/issues/7103)
* Fix vcFormat formatting after typing brackets and a newline. [#7125](https://github.com/microsoft/vscode-cpptools/issues/7125)
* Fix a performance bug after formatting a document. [#7159](https://github.com/microsoft/vscode-cpptools/issues/7159)
* Fix random crashes of cpptools-srv during shutdown. [#7161](https://github.com/microsoft/vscode-cpptools/issues/7161)
* Fix a bug with relative "." paths in compile commands. [#7221](https://github.com/microsoft/vscode-cpptools/issues/7221)
* Fix configuration issues with Unreal Engine projects. [#7222](https://github.com/microsoft/vscode-cpptools/issues/7222)
* Fix bug when `${workspaceFolder}` is used in `compileCommands`. [#7241](https://github.com/microsoft/vscode-cpptools/issues/7241)
* Aleksa Pavlovic (@aleksa2808) [PR #7242](https://github.com/microsoft/vscode-cpptools/pull/7242)
* Fix field requirements for custom configurations. [PR #7295](https://github.com/microsoft/vscode-cpptools/pull/7295)
* Fix integrity hash checking of downloaded packages for the extension. [PR #7300](https://github.com/microsoft/vscode-cpptools/pull/7300)
* Fix a bug preventing successful validation and receipt of browse configurations from custom configuration providers. [PR# 7131](https://github.com/microsoft/vscode-cpptools/pull/7313)
* Fix a potential crash when editing at the end of a document.
* Fix "Configure Task" selection to show root folder names for multiroot workspace [PR #7315](https://github.com/microsoft/vscode-cpptools/pull/7315)
## Version 1.2.2: February 25, 2021
### Bug Fixes
* Fix IntelliSense errors with variable length arrays with C Clang mode. [#6500](https://github.com/microsoft/vscode-cpptools/issues/6500)
* Fix for random IntelliSense communication failures on Mac. [#6809](https://github.com/microsoft/vscode-cpptools/issues/6809), [#6958](https://github.com/microsoft/vscode-cpptools/issues/6958)
* Fix an extension activation failure when a non-existent folder exists in the workspace. [#6981](https://github.com/microsoft/vscode-cpptools/issues/6981)
* Fix infinite loops during document symbol processing. [#6988](https://github.com/microsoft/vscode-cpptools/issues/6988), [#7012](https://github.com/microsoft/vscode-cpptools/issues/7012), [#7022](https://github.com/microsoft/vscode-cpptools/issues/7022), [#7025](https://github.com/microsoft/vscode-cpptools/issues/7025)
* Fix a regression with handling of -isysroot/--sysroot compiler arguments. [#6992](https://github.com/microsoft/vscode-cpptools/issues/6992)
* Fix issue querying certain compilers, including armclang and arm-poky-linux-musleabi-gcc. [7021](https://github.com/microsoft/vscode-cpptools/issues/7021)
* Fix invalid "console" property when generating a "cppdbg" task. [#7048](https://github.com/microsoft/vscode-cpptools/issues/7048)
## Version 1.2.1: February 16, 2021
### Bug Fixes
* Fix `Switch Header/Source` in two cases when symlinks are in the path. [#6855](https://github.com/microsoft/vscode-cpptools/issues/6855)
* Fix clang-format FixNamespaceComments default. [#6894](https://github.com/microsoft/vscode-cpptools/issues/6894)
* Fix an issue with querying certain compilers for system defines and system includes [#6898](https://github.com/microsoft/vscode-cpptools/issues/6898)
* Fix an issue preventing detection of default target and default language standard of Cygwin and WSL compilers. [#6902](https://github.com/microsoft/vscode-cpptools/issues/6902)
* Fix an issue with detection of Apple Clang. [#6916](https://github.com/microsoft/vscode-cpptools/issues/6916)
* Fix endless memory usage (or a crash) with certain code. [#6940](https://github.com/microsoft/vscode-cpptools/issues/6940)
* Fix "format after newline" with vcFormat. [#6942](https://github.com/microsoft/vscode-cpptools/issues/6942)
* Fix compiler querying with -Xclang and -include-pch arguments. [#6944](https://github.com/microsoft/vscode-cpptools/issues/6944)
* Switch to the signed LLDB-MI on Mac 10.14 or newer with the online vsix. [#6945](https://github.com/microsoft/vscode-cpptools/issues/6945)
## Version 1.2.0: February 2, 2021
### New Features
* Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083)
### Enhancements
* Show configuration squiggles when configurations with the same name exist. [#3412](https://github.com/microsoft/vscode-cpptools/issues/3412)
* Add `C_Cpp.addNodeAddonIncludePaths` setting to add include paths from `nan` and `node-addon-api` when they're dependencies. [#4854](https://github.com/microsoft/vscode-cpptools/issues/4854)
* Bruce MacNaughton (@bmacnaughton) [PR #67331](https://github.com/microsoft/vscode-cpptools/pull/6731)
* Add command `Generate EditorConfig contents from VC Format settings`. [#6018](https://github.com/microsoft/vscode-cpptools/issues/6018)
* Update to clang-format 11.1. [#6326](https://github.com/microsoft/vscode-cpptools/issues/6326)
* Add clang-format built for Windows ARM64. [#6494](https://github.com/microsoft/vscode-cpptools/issues/6494)
* Add support for the `/await` flag with msvc IntelliSense. [#6596](https://github.com/microsoft/vscode-cpptools/issues/6596)
* Increase document/workspace symbol limit from 1000 to 10000. [#6766](https://github.com/microsoft/vscode-cpptools/issues/6766)
* Add new "console" launch config for cppvsdbg. [PR #6794](https://github.com/microsoft/vscode-cpptools/pull/6794)
### Bug Fixes
* Fix handling of `--sysroot` and `-isysroot` with `compileCommands`. [#1575](https://github.com/microsoft/vscode-cpptools/issues/1575)
* Fix IntelliSense not updating if a non-opened header is changed. [#1780](https://github.com/microsoft/vscode-cpptools/issues/1780)
* Fix IntelliSense involving overflow for unsigned int values. [#2202](https://github.com/microsoft/vscode-cpptools/issues/2202)
* Fix IntelliSense not switching the language mode after changing C versus C++ `files.associations`. [#2557](https://github.com/microsoft/vscode-cpptools/issues/2557)
* Fix Switch Header/Source not switching to an existing file in another column if it's not visible. [#2667](https://github.com/microsoft/vscode-cpptools/issues/2667), [#6749](https://github.com/microsoft/vscode-cpptools/issues/6749)
* Fix autocomplete not working with `for` loop variables with C code. [#2946](https://github.com/microsoft/vscode-cpptools/issues/2946)
* Fix `#include` completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465)
* Fix completion not working for templates in gcc/clang mode. [#3501](https://github.com/microsoft/vscode-cpptools/issues/3501)
* Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858)
* Fix IntelliSense squiggle about not being able to assign to an object of its own type. [#3883](https://github.com/microsoft/vscode-cpptools/issues/3883)
* Fix hover and Find All References for template function overloads. [#4044](https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249)
* Fix the Outline view for nested namespaces. [#4456](https://github.com/microsoft/vscode-cpptools/issues/4456)
* Fix some IntelliSense parsing errors. [#4595](https://github.com/microsoft/vscode-cpptools/issues/4595), [#6362](https://github.com/microsoft/vscode-cpptools/issues/6362), [#6685](https://github.com/microsoft/vscode-cpptools/issues/6685)
* Fix Outline view with`"**/.*"` in `files.exclude`. [#4602](https://github.com/microsoft/vscode-cpptools/issues/4602)
* Fix build tasks errors in single file mode. [#4638](https://github.com/microsoft/vscode-cpptools/issues/4638), [#6764](https://github.com/microsoft/vscode-cpptools/issues/6764)
* Fix the Outline view for nested structs/classes. [#4781](https://github.com/microsoft/vscode-cpptools/issues/4871)
* Fix `files.exclude` not applying to watched files handlers. [#5141](https://github.com/microsoft/vscode-cpptools/issues/5141)
* Fix code folding incorrectly matching an inactive `}`. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429)
* Fix IntelliSense Clang version for Apple Clang. [#5500](https://github.com/microsoft/vscode-cpptools/issues/5500)
* Fix hover doc comments not working if there's a selection. [#5635](https://github.com/microsoft/vscode-cpptools/issues/5635), [#6583](https://github.com/microsoft/vscode-cpptools/issues/6583)
* Fix `#include` completion to include results for non-standard header file extensions. [#5698](https://github.com/microsoft/vscode-cpptools/issues/5698)
* Fix clang-format failing due to missing libtinfo5 on Linux ARM/ARM64. [#5958](https://github.com/microsoft/vscode-cpptools/issues/5958)
* Automatically configure to use a custom configuration provider if available and no other configuration exists. [#6150](https://github.com/microsoft/vscode-cpptools/issues/6150)
* Fix not being able to attach to cpptools and cpptools-srv on Mac (to get crash call stacks). [#6151](https://github.com/microsoft/vscode-cpptools/issues/6151), [#6736](https://github.com/microsoft/vscode-cpptools/issues/6736)
* Fix IntelliSense crashing with cl.exe with C++20 and span. [#6251](https://github.com/microsoft/vscode-cpptools/issues/6251)
* Stop querying unsupported compilers. [#6314](https://github.com/microsoft/vscode-cpptools/issues/6314)
* Fix an entry not found error for files in `compile_commands.json` that didn't initially exist. [#6311](https://github.com/microsoft/vscode-cpptools/issues/6311)
* Fix IntelliSense errors with C++20 std::ranges in gcc/clang modes. [#6342](https://github.com/microsoft/vscode-cpptools/issues/6342)
* Add a workaround for a missing compiler path for the `compile_commands.json` generated by Unreal Engine. [#6358](https://github.com/microsoft/vscode-cpptools/issues/6358)
* Fix IntelliSense crash with coroutines. [#6363](https://github.com/microsoft/vscode-cpptools/issues/6363)
* Add localized strings for `cppbuild` tasks. [#6436](https://github.com/microsoft/vscode-cpptools/issues/6436)
* Fix IntelliSense squiggle with C++20 non-type templates. [#6462](https://github.com/microsoft/vscode-cpptools/issues/6462)
* Fix `compilerArgs` processing with `-MF` and other multi-arg arguments. [#6478](https://github.com/microsoft/vscode-cpptools/issues/6478)
* Fix bug causing `Unable to read process.env.HOME`. [#6468](https://github.com/microsoft/vscode-cpptools/issues/6468)
* Fix gcc problem matcher when the column is missing.
* @guntern [PR #6490](https://github.com/microsoft/vscode-cpptools/pull/6490)
* Disable Insiders prompt for Codespaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491)
* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497)
* Show an error message when gdb can't be found when generating a `launch.json` (instead of using an invalid `miDebuggerPath`). [#6511](https://github.com/microsoft/vscode-cpptools/issues/6511)
* Fix IntelliSense not supporting `__float128` (and `Q` literals) on x64 Linux. [#6574](https://github.com/microsoft/vscode-cpptools/issues/6574)
* Fix IntelliSense crash with a parenthesized type followed by an initializer list. [#6554](https://github.com/microsoft/vscode-cpptools/issues/6554), [#6624](https://github.com/microsoft/vscode-cpptools/issues/6624)
* Fix IntelliSense updating after pasting multi-line code. [#6565](https://github.com/microsoft/vscode-cpptools/issues/6565)
* Use "method" instead of "member" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569)
* Fix `__builtin_coro_*` methods not recognized by IntelliSense in gcc mode with `-fcoroutines`. [#6575](https://github.com/microsoft/vscode-cpptools/issues/6575)
* Fix the `else` snippet interfering with entering one line `else` statements. [#6582](https://github.com/microsoft/vscode-cpptools/issues/6582)
* Stop showing an "unknown error" message after canceling the creation of a `launch.json`. [#6608](https://github.com/microsoft/vscode-cpptools/issues/6608)
* Fix potential extension activation delay. [#6630](https://github.com/microsoft/vscode-cpptools/issues/6630)
* Fix the executed command not appearing with cppbuild tasks. [#6647](https://github.com/microsoft/vscode-cpptools/issues/6647)
* Fix IntelliSense crash on Mac due to IPCH file corruption. [#6673](https://github.com/microsoft/vscode-cpptools/issues/6673)
* Fix `_Debug` not being defined when `/MDd` or `/MTd` are used. [#6690](https://github.com/microsoft/vscode-cpptools/issues/6690)
* Fix infinite IntelliSense processing when C++20, gcc mode, and `-fcoroutines` and used. [#6709](https://github.com/microsoft/vscode-cpptools/issues/6709)
* Allow the extension to run on M1 Macs. [#6713](https://github.com/microsoft/vscode-cpptools/issues/6713)
* Xiangyi Meng (@xymeng16) [PR #6601](https://github.com/microsoft/vscode-cpptools/pull/6601)
* Fix IntelliSense errors when "module" is used as a variable name with C++20. [#6719](https://github.com/microsoft/vscode-cpptools/issues/6719)
* Fix `.` to `->` completion with multiple cursors. [#6720](https://github.com/microsoft/vscode-cpptools/issues/6720)
* Fix bug with configured cl.exe path not being used to choose appropriate system include paths, or cl.exe not being used at all if it's not also installed via the VS Installer. [#6746](https://github.com/microsoft/vscode-cpptools/issues/6746)
* Fix bugs with parsing of quotes and escape sequences in compiler args. [#6761](https://github.com/microsoft/vscode-cpptools/issues/6761)
* Fix the configuration not showing in the status bar when `c_cpp_properties.json` is active. [#6765](https://github.com/microsoft/vscode-cpptools/issues/6765)
* Fix compiler querying with compilers that do not output `__STD_VERSION__` by default (gcc <= 4.8.x). [#6792](https://github.com/microsoft/vscode-cpptools/issues/6792)
* Fix document symbols when nested symbols have the same name as a parent. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830)
* Fix automatic adding of header files to `files.associations` after `Go to Definition` on a `#include`. [#6845](https://github.com/microsoft/vscode-cpptools/issues/6845)
* Fix `"Insiders"` `updateChannel` for VS Code - Exploration. [#6875](https://github.com/microsoft/vscode-cpptools/issues/6875)
* Fix "D" command line warnings not appearing with cl.exe cppbuild build tasks.
* Fix cl.exe cppbuild tasks when `/nologo` is used (and make /nologo a default arg).
* Fix a cpptools crash and multiple deadlocks.
## Version 1.1.3: December 3, 2020
### Bug Fixes
* Disable the "join Insiders" prompt for Linux CodeSpaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491)
* Fix "shell" tasks giving error "Cannot read property `includes` of undefined". [#6538](https://github.com/microsoft/vscode-cpptools/issues/6538)
* Fix various task variables not getting resolved with `cppbuild` tasks. [#6538](https://github.com/microsoft/vscode-cpptools/issues/6538)
* Fix warnings not appearing with `cppbuild` tasks. [#6556](https://github.com/microsoft/vscode-cpptools/issues/6556)
* Fix endless CPU/memory usage if the cpptools process crashes. [#6603](https://github.com/microsoft/vscode-cpptools/issues/6603)
* Fix the default `cwd` for `cppbuild` tasks. [#6618](https://github.com/microsoft/vscode-cpptools/issues/6618)
## Version 1.1.2: November 17, 2020
### Bug Fix
* Fix resolution of `${fileDirname}` with `cppbuild` tasks. [#6386](https://github.com/microsoft/vscode-cpptools/issues/6386)
## Version 1.1.1: November 9, 2020
### Bug Fixes
* Fix cpptools binaries sometimes not getting installed on Windows. [#6453](https://github.com/microsoft/vscode-cpptools/issues/6453)
## Version 1.1.0: November 5, 2020
### New Features
* Add language server support for Windows ARM64 (no debugging yet). [#5583](https://github.com/microsoft/vscode-cpptools/issues/5583)
* [cppdbg] Debugger Protocol Updates:
* ReadMemoryRequest [PR MIEngine#1028](https://github.com/microsoft/MIEngine/pull/1028)
* ModulesRequest and ModuleEvent [PR MIEngine#1054](https://github.com/microsoft/MIEngine/pull/1054)
* [cppdbg] Support new SourceFileMap schema [PR #6319](https://github.com/microsoft/vscode-cpptools/pull/6319)
### Enhancements
* Add support to run c/cpp build tasks. [#3674](https://github.com/microsoft/vscode-cpptools/issues/3674), [#5270](https://github.com/microsoft/vscode-cpptools/issues/5270), [#5285](https://github.com/microsoft/vscode-cpptools/issues/5285)
* Tasks: Configure Task
* Tasks: Run Build Task
* C/C++: Build and debug active file.
* Add logging around compiler querying, and the "C/C++ Configuration Warnings" output channel. [#5259](https://github.com/microsoft/vscode-cpptools/issues/5259)
* Add compile commands info to Log Diagnostics. [#5761](https://github.com/microsoft/vscode-cpptools/issues/5761)
* Add `intelliSenseUpdateDelay` setting. [#6142](https://github.com/microsoft/vscode-cpptools/issues/6142)
* YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344)
* Enable support for specifying a compiler by only the filename if it's in the environment path. [#6179](https://github.com/microsoft/vscode-cpptools/issues/6179)
* Restart the IntelliSense process if its memory usage exceeds the `C_Cpp.intelliSenseMemoryLimit` setting. [#6230](https://github.com/microsoft/vscode-cpptools/issues/6230)
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
* @Trass3r [PR MIEngine#1036](https://github.com/microsoft/MIEngine/pull/1036)
* [cppdbg] Support composite expressions in natvis ArrayItems
* @Trass3r [PR MIEngine#1044](https://github.com/microsoft/MIEngine/pull/1044)
* Add handling of the "-ansi" compiler arg when querying gcc/clang compilers.
* Add support for inferring the IntelliSenseMode based on the "--target" compiler arg.
* Add support for inferring the C standard based on new c11/c17 language standard args for cl.exe.
* Allow custom config providers to omit IntelliSenseMode and C/C++ language standard, enabling them to be inferred from the `compilerPath` and `compilerArgs`.
### Bug Fixes
* Change macOS Framework searching to only parse the "Current" framework folder when the "Headers" folder is not found. [#2046](https://github.com/microsoft/vscode-cpptools/issues/2046)
* Show the compiler path in the `Build and Debug Active File` dropdown. [#4278](https://github.com/microsoft/vscode-cpptools/issues/4278)
* Fix incorrect signature help active argument with multiple template parameters. [#4786](https://github.com/microsoft/vscode-cpptools/issues/4786)
* Fix bug with directories not getting created for browse.databaseFilename. [#5181](https://github.com/microsoft/vscode-cpptools/issues/5181)
* Allow the debug configuration to wait for the preLaunchTask to complete before continuing on and resolving environment variables or processes that may have been set in the 'tasks.json'. [#5287](https://github.com/microsoft/vscode-cpptools/issues/5287)
* Change the Windows SDK detection to require the shared, ucrt, and um folders. [#5817](https://github.com/microsoft/vscode-cpptools/issues/5817)
* Fix issues with IntelliSense for clang-cl.exe. [#6075](https://github.com/microsoft/vscode-cpptools/issues/6075)
* Fix "Comments are not permitted in JSON" error when `c_cpp_properties.json` is open but not active. [#6132](https://github.com/microsoft/vscode-cpptools/issues/6132)
* Rename the C language standard setting values from c18 and gnu18 to c17 and gnu17. [#6105](https://github.com/microsoft/vscode-cpptools/issues/6105)
* Add more IntelliSense support for std ranges, concepts, and modules exports (__cpp_lib_concepts is now enabled). [#6173](https://github.com/microsoft/vscode-cpptools/issues/6173)
* Add "-fnoblocks" when querying clang on Mac, as IntelliSense does not currently support blocks. [#6189](https://github.com/microsoft/vscode-cpptools/issues/6189)
* Fix clang-format on 32-bit Windows. [#6195](https://github.com/microsoft/vscode-cpptools/issues/6195)
* Fix incorrect formatting results when clang-format removes duplicate includes. [#6205](https://github.com/microsoft/vscode-cpptools/issues/6205)
* Fix a case where the main process could get stuck. [#6207](https://github.com/microsoft/vscode-cpptools/issues/6207)
* Fix C files being treated as C++ files with compile_commands.json. [#6279](https://github.com/microsoft/vscode-cpptools/issues/6279)
* Fix `Build and Debug Active File` race condition with EngineLogs. [#6304](https://github.com/microsoft/vscode-cpptools/pull/6304)
* Fix changes to some `c_cpp_properties.json` properties not taking effect (until a reload) if `compileCommands` is set. [#6332](https://github.com/microsoft/vscode-cpptools/issues/6332)
* Fix issue with compiler querying not handling various clang command line options correctly. [6359](https://github.com/microsoft/vscode-cpptools/issues/6356)
* Fix multiroot workspace tag parsing when `compileCommands` is set. [#6383](https://github.com/microsoft/vscode-cpptools/issues/6383)
* Fix mingw32 compilers not being detected. [#6394](https://github.com/microsoft/vscode-cpptools/issues/6394)
* Various bug fixes for vcFormat. [PR #6408](https://github.com/microsoft/vscode-cpptools/pull/6408)
* Fix issue causing zh-cn and zh-tw language files not to be used. [PR #6418](https://github.com/microsoft/vscode-cpptools/pull/6418)
* Fix the handling of various compiler arg pairs when querying compilers.
* Avoid parsing entries in compile_commands.json for file types that we do not support.
* Fixed an issue in which only C or C++ system headers were added to the browse path, rather than both.
* Fix issue causing some localized messages to be displayed incorrectly.
* Fixed issue with shipping an older version of vsdbg in offline packages.
### Other Contributions
* Refactoring provider classes.
* Abhishek Pal (@devabhishekpal) [PR #5998](https://github.com/microsoft/vscode-cpptools/pull/5998)
## Version 1.0.1: September 21, 2020
### Bug Fixes
* Fix "No IL available" IntelliSense error on Linux/macOS when `#error` directives are present in the source code. [#6009](https://github.com/microsoft/vscode-cpptools/issues/6009), [#6114](https://github.com/microsoft/vscode-cpptools/issues/6114)
* Fix issue on Windows with the language server not shutting down properly which causes the IntelliSense database to become corrupted. [PR #6141](https://github.com/microsoft/vscode-cpptools/issues/6141)
* Fix "No IL available" IntelliSense error when predefined macros are undefined. [#6147](https://github.com/microsoft/vscode-cpptools/issues/6147)
* Fix infinite loop IntelliSense regression. [#6166](https://github.com/microsoft/vscode-cpptools/issues/6166)
## Version 1.0.0: September 14, 2020
### New Features
* Support non-UTF-8 file encodings (GBK, UTF-16, etc.), excluding `files.autoGuessEncoding` support. [#414](https://github.com/microsoft/vscode-cpptools/issues/414)
* Support for running the extension on Linux ARM devices (armhf/armv7l and aarch64/arm64), using remoting. [#429](https://github.com/microsoft/vscode-cpptools/issues/429), [#2506](https://github.com/microsoft/vscode-cpptools/issues/2506)
* Add the `vcFormat` option to `C_Cpp.formatting` (with `C_Cpp.vcFormat.*` options) to enable VS-style formatting (instead of clang-format formatting). [#657](https://github.com/microsoft/vscode-cpptools/issues/657)
* Add support for vcFormat settings in `.editorconfig` files. [PR #5932](https://github.com/microsoft/vscode-cpptools/pull/5932)
### Enhancements
* Improve the download and installation progress bar. [#1961](https://github.com/microsoft/vscode-cpptools/issues/1961)
* Add error codes and the "C/C++" source to IntelliSense errors. [#2345](https://github.com/microsoft/vscode-cpptools/issues/2345)
* Add support for `/Zc:__cplusplus` in `compilerArgs` for cl.exe. [#2595](https://github.com/microsoft/vscode-cpptools/issues/2595)
* Search for `compilerPath` in the PATH environment variable. [#3078](https://github.com/microsoft/vscode-cpptools/issues/3078), [#5908](https://github.com/microsoft/vscode-cpptools/issues/5908)
* Validate crypto signatures of binaries we download. [#5268](https://github.com/microsoft/vscode-cpptools/issues/5268)
* Add link to the documentation in the configuration UI. [#5875](https://github.com/microsoft/vscode-cpptools/issues/5875)
* Abhishek Pal (@devabhishekpal) [PR #5991](https://github.com/microsoft/vscode-cpptools/pull/5991)
* Allow comments, trailing commas, etc. in `c_cpp_properties.json` [#5885](https://github.com/microsoft/vscode-cpptools/issues/5885)
* Prevent comments from being removed from json files when the extension modifies them.
* @dan-shaw [PR #5954](https://github.com/microsoft/vscode-cpptools/pull/5954)
* Add diagnostics on potentially conflicting recursive includes to `C/C++: Log Diagnostics`, i.e. if a workspace uses files with the same name as system headers. [#6009](https://github.com/microsoft/vscode-cpptools/issues/6009)
* Add workspace parsing diagnostics. [#6048](https://github.com/microsoft/vscode-cpptools/issues/6048)
* Add `wmain` snippet on Windows. [#6064](https://github.com/microsoft/vscode-cpptools/issues/6064)
* More C++20 support.
### Bug Fixes
* Fix member completion in C code after an operator is used in an expression. [#2184](https://github.com/microsoft/vscode-cpptools/issues/2184)
* Fix extension not creating `tasks.json` if the `.vscode` folder doesnt exist. [#4280](https://github.com/microsoft/vscode-cpptools/issues/4280)
* Fix installation of clang-format 10 with the online vsix. [#5194](https://github.com/microsoft/vscode-cpptools/issues/5194)
* Get the compiler type to determine if it's Clang when querying for default compiler so that the correct default `intelliSenseMode` is set. [#5352](https://github.com/microsoft/vscode-cpptools/issues/5352)
* Get the default language standard of the compiler and use that std version if no version is specified. [#5579](https://github.com/microsoft/vscode-cpptools/issues/5579)
* Fix `configuration.includePath` to only add the `defaultFolder` when the default `includePath` is set. [#5621](https://github.com/microsoft/vscode-cpptools/issues/5621)
* Fix an IntelliSense crash when using C++20 on Linux. [#5727](https://github.com/microsoft/vscode-cpptools/issues/5727)
* Get the default target of the compiler. If the default target is ARM/ARM64, do not use the generic "--target" option to determine bitness. [#5772](https://github.com/microsoft/vscode-cpptools/issues/5772)
* Fix `compilerArgs` not being used if no `compilerPath` is set. [#5776](https://github.com/microsoft/vscode-cpptools/issues/5776)
* Fix an incorrect IntelliSense error squiggle. [#5783](https://github.com/microsoft/vscode-cpptools/issues/5783)
* Fix semantic colorization and inactive regions for multiroot workspaces. [#5812](https://github.com/microsoft/vscode-cpptools/issues/5812), [#5828](https://github.com/microsoft/vscode-cpptools/issues/5828)
* Fix bug with cl.exe flags /FU and /FI not being processed. [#5819](https://github.com/microsoft/vscode-cpptools/issues/5819)
* Fix `cStandard` being set to `c11` instead of `gnu18` with gcc. [#5834](https://github.com/microsoft/vscode-cpptools/issues/5834)
* Fix Doxygen parameterHint comment to display for a parameter name that is followed by colon. [#5836](https://github.com/microsoft/vscode-cpptools/issues/5836)
* Fix compiler querying when relative paths are used in `compile_commands.json`. [#5848](https://github.com/microsoft/vscode-cpptools/issues/5848)
* Fix the compile commands compiler not being used if `C_Cpp.default.compilerPath` is set. [#5848](https://github.com/microsoft/vscode-cpptools/issues/5848)
* Fix Doxygen comment to escape markdown characters. [#5904](https://github.com/microsoft/vscode-cpptools/issues/5904)
* Remove keyword completion of C identifiers that are defined in headers and aren't keywords (e.g. `alignas`). [#6022](https://github.com/microsoft/vscode-cpptools/issues/6022)
* Fix error message with `Build and Debug Active File`. [#6071](https://github.com/microsoft/vscode-cpptools/issues/6071)
* Restore fallback to the base configuration if a custom configuration provider does not provide a configuration for a file and does not provide compiler info in a custom browse configuration.
* Fix a bug that could cause the extension to delay processing a newly opened file until any outstanding IntelliSense operations are complete, if using a custom configuration provider.
* Fix a bug with incorrect configuration of a file when using a custom configuration provider and no custom configuration is available for that file. This now falls back to the compiler info received from the configuration provider with the browse configuration.
* Fix a bug in which making a modification to `c_cpp_properties.json` could result in custom configurations for currently open files being discarded and not re-requested.
### Potentially Breaking Changes
* Settings `commentContinuationPatterns`, `enhancedColorization`, and `codeFolding` are no longer available in per-Folder settings (only Workspace or higher settings). [PR #5830](https://github.com/microsoft/vscode-cpptools/pull/5830)
* Fix compile command arguments not being used when `compilerPath` is set (so the compile command arguments need to be compatible now).
* If a non-matching `intelliSenseMode` was being used, such as clang-x64 with a gcc ARM compiler, then we may auto-fix it internally, which may cause changes to IntelliSense behavior.
### Known Issues
* Using `clang-format` on ARM may require installing libtinfo5. [#5958](https://github.com/microsoft/vscode-cpptools/issues/5958)
## Version 0.29.0: July 15, 2020
### New Features
* Add Doxygen comment support (to tooltip display of hover, completion, and signature help). [#658](https://github.com/microsoft/vscode-cpptools/issues/658)
* The way comments are formatted is controlled by the `C_Cpp.simplifyStructuredComments` setting.
* Auto-convert `.` to `->` when the type is a pointer. [#862](https://github.com/microsoft/vscode-cpptools/issues/862)
* Switch to using the VS Code Semantic Tokens API for semantic colorization (works with remoting). [PR #5401](https://github.com/microsoft/vscode-cpptools/pull/5401), [#3932](https://github.com/microsoft/vscode-cpptools/issues/3932), [#3933](https://github.com/microsoft/vscode-cpptools/issues/3933), [#3942](https://github.com/microsoft/vscode-cpptools/issues/3942)
* Add support for LogMessage Breakpoints for debug type `cppdbg`. [MIEngine#1013](https://github.com/microsoft/MIEngine/pull/1013)
### Enhancements
* Automatically add `"${default}"` to the default `includePath` in `c_cpp_properties.json` if `C_Cpp.default.includePath` is set. [#3733](https://github.com/microsoft/vscode-cpptools/issues/3733)
* Add configuration provider logging to `C/C++: Log Diagnostics`. [#4826](https://github.com/microsoft/vscode-cpptools/issues/4826)
* Add support for the Debug Welcome Panel. [#4837](https://github.com/microsoft/vscode-cpptools/issues/4837)
* Update to clang-format 10. [#5194](https://github.com/microsoft/vscode-cpptools/issues/5194)
* Add system to store and query properties from the active C/C++ configuration.
* bugengine (@bugengine) [PR #5453](https://github.com/microsoft/vscode-cpptools/pull/5453)
* Add `quoteArgs` to `launch.json` schema. [PR #5639](https://github.com/microsoft/vscode-cpptools/pull/5639)
* Add logs for a resolved `launch.json` if "engineLogging" is enabled. [PR #5644](https://github.com/microsoft/vscode-cpptools/pull/5644)
* Add threadExit and processExit logging flags for 'cppvsdbg'. [PR #5652](https://github.com/microsoft/vscode-cpptools/pull/5652)
### Bug Fixes
* Fix IntelliSense when using "import_" in a variable name. [#5272](https://github.com/microsoft/vscode-cpptools/issues/5272)
* Add localization support for autocomplete and hover text. [#5370](https://github.com/microsoft/vscode-cpptools/issues/5370)
* Some `updateChannel` fixes. [PR #5465](https://github.com/microsoft/vscode-cpptools/pull/5465)
* Fix wrong language standard used with compile commands. [#5498](https://github.com/microsoft/vscode-cpptools/issues/5498)
* Fix issue with defines and includes not being handled correctly in `compilerPath` or `compilerArgs`. [#5512](https://github.com/microsoft/vscode-cpptools/issues/5512)
* Add gcc/gcc-10 compiler detection. [#5540](https://github.com/microsoft/vscode-cpptools/issues/5540)
* Fix `--target` compiler arg getting overridden. [#5557](https://github.com/microsoft/vscode-cpptools/issues/5557)
* Matt Schulte (@schultetwin1)
* Fix Find All References and Rename when multiple references are on the same line. [#5568](https://github.com/microsoft/vscode-cpptools/issues/5568)
* Fix IntelliSense process crashes. [#5584](https://github.com/microsoft/vscode-cpptools/issues/5584), [#5629](https://github.com/microsoft/vscode-cpptools/issues/5629)
* Fix an add/remove workspace folder crash. [#5591](https://github.com/microsoft/vscode-cpptools/issues/5591)
* Fix default build tasks failing on Windows if the compiler isn't on the PATH. [#5604](https://github.com/microsoft/vscode-cpptools/issues/5604)
* Fix updating `files.associations` and .C files being associated with C instead of C++. [#5618](https://github.com/microsoft/vscode-cpptools/issues/5618)
* Fix IntelliSense malfunction when RxCpp is used. [#5619](https://github.com/microsoft/vscode-cpptools/issues/5619)
* Fix an incorrect IntelliSense error. [#5627](https://github.com/microsoft/vscode-cpptools/issues/5627)
* Ignore "screen size is bogus" error when debugging. [PR #5669](https://github.com/microsoft/vscode-cpptools/pull/5669)
* nukoyluoglu (@nukoyluoglu)
* Fix `compile_commands.json` sometimes not updating. [#5687](https://github.com/microsoft/vscode-cpptools/issues/5687)
* Add msys2 clang compilers to the compiler search list (previously only gcc was handled). [#5697](https://github.com/microsoft/vscode-cpptools/issues/5697)
* Fix extension getting stuck when an "@" response file that doesn't end with ".rsp" is used in `compilerArgs`. [#5731](https://github.com/microsoft/vscode-cpptools/issues/5731)
* Fix forced includes not handled properly when parsed as compiler args. [#5738](https://github.com/microsoft/vscode-cpptools/issues/5738)
* Fix potential thread deadlock in cpptools.
* Fix copying a long value from debug watch results in pasting partial value [#5470](https://github.com/microsoft/vscode-cpptools/issues/5470)
* [PR MIEngine#1009](https://github.com/microsoft/MIEngine/pull/1009)
* Fix Modifying conditional breakpoints [#2297](https://github.com/microsoft/vscode-cpptools/issues/2297)
* [PR MIEngine#1010](https://github.com/microsoft/MIEngine/pull/1010)
* Fix find <miDebuggerPath>.exe in Windows path [#3076](https://github.com/microsoft/vscode-cpptools/issues/3076)
* [PR MIEngine#1001](https://github.com/microsoft/MIEngine/pull/1001)
## Version 0.28.3: June 9, 2020
### Enhancements
* Update version of vscode-cpptools API to 4.0.1 [PR #5624](https://github.com/microsoft/vscode-cpptools/pull/5624)
## Version 0.28.2: June 1, 2020
### Regression Bug Fixes
* Fix string arrays in `env` not being joined properly. [#5509](https://github.com/microsoft/vscode-cpptools/issues/5509)
* Krishna Ersson (@kersson) [PR #5510](https://github.com/microsoft/vscode-cpptools/pull/5510)
* Fix `shell` being used as the C/C++ build task source instead of `C/C++`. [vscode-docs#3724](https://github.com/microsoft/vscode-docs/issues/3724)
### Other Bug Fixes
* Fix `problemMatcher` not being added to C/C++ build tasks. [#3295](https://github.com/microsoft/vscode-cpptools/issues/3295)
* Fix `/usr/bin` being used as the default `cwd` (instead of `${workspaceFolder}`) for C/C++ build tasks. [#4761](https://github.com/microsoft/vscode-cpptools/issues/4761)
* Fix processing of quoted arguments with spaces in `compilerPath`. [PR #5513](https://github.com/microsoft/vscode-cpptools/pull/5513)
* Fix inconsistent task `label` and `preLaunchTask` being used for C/C++ build tasks. [#5561](https://github.com/microsoft/vscode-cpptools/issues/5561)
## Version 0.28.1: May 20, 2020
### Bug Fixes
* Fix errors not appearing after switching between a WSL and non-WSL config on Windows. [#5474](https://github.com/microsoft/vscode-cpptools/issues/5474)
* Fix cpptools crash when gcc is not in $PATH in a Docker container. [#5484](https://github.com/microsoft/vscode-cpptools/issues/5484)
* Fix top IntelliSense crash regression. [#5486](https://github.com/microsoft/vscode-cpptools/issues/5486)
* Fix squiggles appearing too soon (while typing). [#5531](https://github.com/microsoft/vscode-cpptools/issues/5531)
## Version 0.28.0: May 12, 2020
### New Features
* Add C/C++ language-aware code folding. [#407](https://github.com/microsoft/vscode-cpptools/issues/407)
* Add GNU (and C17) language standard options. [#2782](https://github.com/microsoft/vscode-cpptools/issues/2782)
* Add ARM and ARM64 IntelliSense modes. [#4271](https://github.com/microsoft/vscode-cpptools/issues/4271), [PR #5250](https://github.com/microsoft/vscode-cpptools/pull/5250)
### Enhancements
* Change the `gcc` problem matcher to use `autoDetect` for `fileLocation` . [#1915](https://github.com/microsoft/vscode-cpptools/issues/1915)
* Add support for IntelliSense-based `Go to Definition` on `#include` statements. [#2564](https://github.com/microsoft/vscode-cpptools/issues/2564)
* Support relative paths with `forcedInclude`. [#2780](https://github.com/microsoft/vscode-cpptools/issues/2780)
* Make the `Visual Studio` formatting style respect the C++ standard (e.g. `> >` for C++03 or earlier). [#3578](https://github.com/microsoft/vscode-cpptools/issues/3578)
* Add support for more C++20 features, such as concepts (not 100% complete yet). [#4195](https://github.com/microsoft/vscode-cpptools/issues/4195)
* Process the "std" and bitness (-m64/-m32) compiler args. [#4726](https://github.com/microsoft/vscode-cpptools/issues/4726)
* Switch from our custom Rename UI to VS Code's Refactor Preview. [#4990](https://github.com/microsoft/vscode-cpptools/issues/4990)
### Bug Fixes
* Fix `browse.path` not getting set correctly when `compileCommands` is used. [#1163](https://github.com/microsoft/vscode-cpptools/issues/1163)
* Fix an issue with squiggle updates not occurring when a dependent file is created, deleted, or renamed. [#3670](https://github.com/microsoft/vscode-cpptools/issues/3670)
* Fix temporary VSIX files not getting deleted after installation [#3923](https://github.com/microsoft/vscode-cpptools/issues/3923)
* Process "$CPATH" on non-Windows OS's. [#3940](https://github.com/microsoft/vscode-cpptools/issues/3940)
* Fix missing include message when a configuration provider is used. [#3971](https://github.com/microsoft/vscode-cpptools/issues/3971)
* Change machine-dependent settings to use remote settings instead of user settings. [#4121](https://github.com/microsoft/vscode-cpptools/issues/4121)
* Fix compiler querying for compilers that output non-English strings. [#4542](https://github.com/microsoft/vscode-cpptools/issues/4542)
* Fix compiler querying when the '-include' argument is used. [#4655](https://github.com/microsoft/vscode-cpptools/issues/4655)
* Fix the "Unable to load schema" error for `c_cpp_properties.json`. [#4841](https://github.com/microsoft/vscode-cpptools/issues/4841)
* Change "Visual Studio" `clang_format_fallback_style` setting to use NamespaceIndentation All. [#5124](https://github.com/microsoft/vscode-cpptools/issues/5124)
* Fix "C++98" and "C++0x" modes. [#5157](https://github.com/microsoft/vscode-cpptools/issues/5157), [#5225](https://github.com/microsoft/vscode-cpptools/issues/5225)
* Improve the error message for multiroot projects using `compile_commands.json`. [#5160](https://github.com/microsoft/vscode-cpptools/issues/5160)
* Fix some cpptools process crashes. [#5280](https://github.com/microsoft/vscode-cpptools/issues/5280)
* Avoid `<…>` truncation on hover. [#5291](https://github.com/microsoft/vscode-cpptools/issues/5291)
* Fix incorrect translations. [PR #5300](https://github.com/microsoft/vscode-cpptools/pull/5300)
* Fix cpptools auto-restarting after a crash. [#5303](https://github.com/microsoft/vscode-cpptools/issues/5303)
* Fix incorrect `c_cpp_properties.json` squiggles. [#5314](https://github.com/microsoft/vscode-cpptools/issues/5314), [#5322](https://github.com/microsoft/vscode-cpptools/issues/5322)
* Fix error `The task provider for "C/C++" tasks unexpectedly provided a task of type "shell".` [#5388](https://github.com/microsoft/vscode-cpptools/issues/5388)
* Fix `compilerPath` set to `""` not working. [#5392](https://github.com/microsoft/vscode-cpptools/issues/5392)
* Fix IntelliSense sometimes not working on a header file (or giving "Cannot Confirm Reference") if an existing TU is chosen that doesn't actually contain the header file.
* Fix random crashes after a settings change.
* Fix redundant squiggle updates.
## Version 0.27.1: April 28, 2020
### Bug Fix
* Disable Insiders `updateChannel` for 32-bit Linux and VS Code older than 1.43.0.
## Version 0.27.0: March 30, 2020
### Enhancements
* Improved multi-root implementation with a single language server process and database for the entire workspace (shared between workspace folders). Fixes most [multi-root bugs](https://github.com/microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature%3A+Multiroot%22+label%3A%22fixed+%28release+pending%29%22+milestone%3A0.27.0).
* Update to clang-format 9.0.1 (and without shared library dependencies). [#2887](https://github.com/microsoft/vscode-cpptools/issues/2887), [#3174](https://github.com/microsoft/vscode-cpptools/issues/3174)
* Add new setting `C_Cpp.debugger.useBacktickCommandSubstitution` to fix debugging when CShell is the remote default shell. [#4015](https://github.com/microsoft/vscode-cpptools/issues/4015)
* @Helloimbob [PR #5053](https://github.com/microsoft/vscode-cpptools/pull/5053)
* Rename language server processes to `cpptools` and `cpptools-srv` (IntelliSense process). [#4364](https://github.com/microsoft/vscode-cpptools/issues/4364)
* Add support for `-iframework` in `compile_commands.json`. [#4819](https://github.com/microsoft/vscode-cpptools/issues/4819)
* Add `cpptools.setActiveConfigName` command. [#4870](https://github.com/microsoft/vscode-cpptools/issues/4870)
* @aleksey-sergey [PR #4893](https://github.com/microsoft/vscode-cpptools/pull/4893)
* Default to the bundled `clang-format` if its version is newer. [#4963](https://github.com/microsoft/vscode-cpptools/issues/4963)
* Add URI's to the debug logging for messages (e.g. `fileChanged`). [#5062](https://github.com/microsoft/vscode-cpptools/issues/5062)
* Use `lldb-mi` for macOS Mojave or newer.
* Fix visualization of standard library types in lldb. [#1768](https://github.com/microsoft/vscode-cpptools/issues/1768)
* Enable debugging support on macOS Catalina. [#3829](https://github.com/microsoft/vscode-cpptools/issues/3829)
* Support '`' in addition to '-exec' for sending gdb commands [PR MIEngine#967](https://github.com/microsoft/MIEngine/pull/976)
### Bug Fixes
* Fix issue in which the user is not again prompted to use a custom configuration provider if settings files have been deleted. [#2346](https://github.com/microsoft/vscode-cpptools/issues/2346)
* Fix "Unrecognized format of field "msg" in result" on macOS. [#2492](https://github.com/microsoft/vscode-cpptools/issues/2492)
* Fix IntelliSense using too much CPU when switching branches. [#2806](https://github.com/microsoft/vscode-cpptools/issues/2806)
* Fix for timeout on slow terminals while debugging. [#2889](https://github.com/microsoft/vscode-cpptools/issues/2889)
* @Epikem [PR MIEngine#965](https://github.com/microsoft/MIEngine/pull/965)
* Fix non-localized text. [#4481](https://github.com/microsoft/vscode-cpptools/issues/4481), [#4879](https://github.com/microsoft/vscode-cpptools/issues/4879)
* Fix issues with paths containing certain Unicode sequences on Mac. [#4712](https://github.com/microsoft/vscode-cpptools/issues/4712)
* Fix IntelliSense parsing bugs and crashes. [#4717](https://github.com/microsoft/vscode-cpptools/issues/4717), [#4798](https://github.com/microsoft/vscode-cpptools/issues/4798)
* Fix configuration UI disabling `compilerPath` if no default compiler is found. [#4727](https://github.com/microsoft/vscode-cpptools/issues/4727)
* Fix issue with providing custom configurations for files specified using URIs schemes we do not recognize. [#4889](https://github.com/microsoft/vscode-cpptools/issues/4889)
* Fix Outline view not updating fast enough after switching branches. [#4894](https://github.com/microsoft/vscode-cpptools/issues/4894)
* Fix failure to detect CL.exe if VS Installer files are stored on a drive other than the system drive. [#4929](https://github.com/microsoft/vscode-cpptools/issues/4929)
* Fix extension randomly getting stuck while communicating with the IntelliSense process on Mac. [#4989](https://github.com/microsoft/vscode-cpptools/issues/4989)
* Fix completion results appearing after numeric literals. [#5019](https://github.com/microsoft/vscode-cpptools/issues/5019)
* Fix issue with cancellation of a `Rename` operation causing subsequent `Find All References` and `Rename` operations to fail. [#5022](https://github.com/microsoft/vscode-cpptools/issues/5022)
* Fix some settings not being editable in the UI. [PR #5126](https://github.com/microsoft/vscode-cpptools/pull/5126)
* Fix `cpp_properties.json` error squiggles not appearing. [#5131](https://github.com/microsoft/vscode-cpptools/issues/5131)
* Fix `search.exclude` not applying if there are > 1 symbols matching in the excluded file. [#5152](https://github.com/microsoft/vscode-cpptools/issues/5152)
* Fix tag parsing not working on Windows 7 without SP1. [#5155](https://github.com/microsoft/vscode-cpptools/issues/5155)
* Fix `updateChannel` being settable per-workspace. [PR #5185](https://github.com/microsoft/vscode-cpptools/pull/5185)
* Fix opened files external to the workspace folder being removed from the database during loading. [#5190](https://github.com/microsoft/vscode-cpptools/issues/5190)
* Fix invalid `c_cpp_properties.json` and configuration UI warning `Compiler path with spaces and arguments is missing double quotes`. [#5215](https://github.com/microsoft/vscode-cpptools/issues/5215)
* Fix environment variables used for the RunInTerminal Request. [MIEngine#979](https://github.com/microsoft/MIEngine/issues/979)
* Fix a race condition that could cause the Outline, `Find All References`, etc. to stop working.
## Version 0.26.3: January 22, 2020
### Bug Fixes
* IntelliSense bug fixes. [#2774](https://github.com/microsoft/vscode-cpptools/issues/2774)
* Improve memory usage in projects with a large number of files. [#3326](https://github.com/microsoft/vscode-cpptools/issues/3326)
* Fix a crash when failing to launch external executables on Linux and Mac. [#3607](https://github.com/microsoft/vscode-cpptools/issues/3607)
* Update output of `C/C++: Log Diagnostics` to include the correct set of defines when custom configurations or compile commands are used. [#3631](https://github.com/microsoft/vscode-cpptools/issues/3631) [#4270](https://github.com/microsoft/vscode-cpptools/issues/4270)
* Fix Insiders channel not working on remote targets. [#3874](https://github.com/microsoft/vscode-cpptools/issues/3874)
* Fix `compile_commands.json` prompt appearing when a configuration provider is used. [#3972](https://github.com/microsoft/vscode-cpptools/issues/3972)
* Improve IntelliSense performance with range-v3. [#4414](https://github.com/microsoft/vscode-cpptools/issues/4414)
* Fix template members not being nested under the template type in the Outline view. [#4466](https://github.com/microsoft/vscode-cpptools/issues/4466)
* Fix an issue in which failure to invoke a compiler could result in a hang on Linux and Mac. [#4627](https://github.com/microsoft/vscode-cpptools/issues/4627)
* Fix custom configurations sometimes not being applied to headers. [#4649](https://github.com/microsoft/vscode-cpptools/issues/4649)
* Fix headers opening into header-only TU's instead of TU's for candidate source files. [#4696](https://github.com/microsoft/vscode-cpptools/issues/4696)
* Fix the missing description of `C_Cpp.clang_format_style`.
* @Enna1 [PR #4734](https://github.com/microsoft/vscode-cpptools/pull/4734)
* Fix Insiders channel not auto-downgrading after an Insiders vsix is unpublished. [#4760](https://github.com/microsoft/vscode-cpptools/issues/4760)
* Fix compiler querying with more than 40 `compilerArgs`. [#4791](https://github.com/microsoft/vscode-cpptools/issues/4791)
* Fix an issue in which files may be unnecessarily removed from the tag parser database on startup, if using a custom configuration provider, resulting in a large number of files being reparsed. [#4802](https://github.com/microsoft/vscode-cpptools/issues/4802)
* Fix an issue in which `Build and Debug Active File` would fail to detect a compiler, without a compiler present in `compilerPath`. [#4834](https://github.com/microsoft/vscode-cpptools/issues/4834)
* Add a version check for `-break-insert` so later versions of `lldb-mi` can be used as a `midebugger`. [MIEngine#946](https://github.com/microsoft/MIEngine/issues/946)
* Fix clang-cl detection for system includes and defines.
* Fix a bug that could cause the browse database threads to get stuck.
### Enhancements
* If clang-format is found in the environment path, that version will take precedence over the copy of clang-format bundled with the extension. [#3569](https://github.com/microsoft/vscode-cpptools/issues/3569)
* When tag parsing is complete, and includer/includee relationships become available, header-only TU's will be replaced with TU's for candidate source files, if available.
## Version 0.26.2: December 2, 2019
### Enhancements
* Reworked how a source file is selected for TU creation when opening a header file. [#2856](https://github.com/microsoft/vscode-cpptools/issues/2856)
* Updated the default value of the `C_Cpp.intelliSenseCachePath` setting to a path under `XDG_CACHE_HOME` on Linux, or `~/Library/Cache` on macOS. [#3979](https://github.com/microsoft/vscode-cpptools/issues/3979)
* Reset memory usage of the IntelliSense process if it grows beyond a threshold. [#4119](https://github.com/microsoft/vscode-cpptools/issues/4119)
* Add validation that the new symbol name provided to 'Rename Symbol' is a valid identifier. Add the setting `C_Cpp.renameRequiresIdentifier` to allow that verification to be disabled. [#4409](https://github.com/microsoft/vscode-cpptools/issues/4409)
* Enable setting of breakpoints in CUDA sources.
* Paul Taylor (@trxcllnt) [PR #4585](https://github.com/microsoft/vscode-cpptools/pull/4585)
* Deferred TU creation until the file is visible in the editor. This avoids the overhead of TU creation when the file is opened by VS Code internally for IntelliSense operations. [#4458](https://github.com/microsoft/vscode-cpptools/issues/4458)
### Bug Fixes
* Fix child process creation when the Windows code page is set to a language with non-ASCII characters and there are non-ASCII characters in the extension's install path. [#1560](https://github.com/microsoft/vscode-cpptools/issues/1560)
* Fix path canonicalization of UNC paths to avoid duplicate files opening with different casing. [#2528](https://github.com/microsoft/vscode-cpptools/issues/2528), [#3980](https://github.com/microsoft/vscode-cpptools/issues/3980)
* Fix header opening without IntelliSense due to creation of a TU from a source file that includes the header in an inactive region. [#4320](https://github.com/microsoft/vscode-cpptools/issues/4320)
* Fix a hang in the extension process that can occur when using a scope named 'interface'. [#4470](https://github.com/microsoft/vscode-cpptools/issues/4470)
* Fix an issue with the Rename UI that could cause the rename to not be applied. [#4504](https://github.com/microsoft/vscode-cpptools/issues/4504)
* Show an error message when a Rename fails due to the symbol not being found. [#4510](https://github.com/microsoft/vscode-cpptools/issues/4510)
* Fix `launch.json` creation due to localized strings containing quotes. [#4526](https://github.com/microsoft/vscode-cpptools/issues/4526)
* Fix configuration error squiggles not being applied unless the setting was set in both `c_cpp_properties.json` and `settings.json`. [PR #4538](https://github.com/microsoft/vscode-cpptools/pull/4538)
* Fix document symbol for Outline view and breadcrumbs on Windows 7. [#4536](https://github.com/microsoft/vscode-cpptools/issues/4536).
* Add support for `"ms-vscode.cmake-tools"` `configurationProvider` id. [#4586](https://github.com/microsoft/vscode-cpptools/issues/4586).
* Fix cancellation of Find All References sometimes resulting in an exception. [#2710](https://github.com/microsoft/vscode-cpptools/issues/2710)
* Fix the sort order of files in the Find All References and Rename UI's. [#4615](https://github.com/microsoft/vscode-cpptools/issues/4615)
* Fix localized Chinese strings not displaying on systems with case-sensitive file systems. [#4619](https://github.com/microsoft/vscode-cpptools/issues/4619)
* Fix files with an extention of `.H` not correctly associating with C++. [#4632](https://github.com/microsoft/vscode-cpptools/issues/4632)
* Fix -m64 or -m32 not being passed to gcc, causing the reported system includes and system defines to not match the requested `intelliSenseMode`. [#4635](https://github.com/microsoft/vscode-cpptools/issues/4635)
## Version 0.26.1: October 28, 2019
### Bug Fixes
* Fix `launch.json` creation when using non-English display languages. [#4464](https://github.com/microsoft/vscode-cpptools/issues/4464)
@@ -9,7 +517,7 @@
## Version 0.26.0: October 15, 2019
### New Features
* Add localization support (translated text) via `Configure Display Language`. [#7](https://github.com/microsoft/vscode-cpptools/issues/7)
* Add `Rename Symbol` with a pending rename UI. [#296](https://github.com/microsoft/vscode-cpptools/issues/296), [PR #4277](https://github.com/microsoft/vscode-cpptools/pull/4277)
* Add `Rename Symbol` with a pending rename UI. [#296](https://github.com/microsoft/vscode-cpptools/issues/296), [PR #4277](https://github.com/microsoft/vscode-cpptools/pull/4277)
* Add support for navigation breadcrumbs and nested symbols in the Outline view (and removed the Navigation status bar item). [#2230](https://github.com/microsoft/vscode-cpptools/issues/2230)
* Add support for C++/CX (`/ZW`, `/ZW:nostdlib`, `/FI`, `/FU`, and `/AI` compiler arguments). [#3039](https://github.com/microsoft/vscode-cpptools/issues/3039)
* Add a tree view UI for the other C++ references results. [#4079](https://github.com/microsoft/vscode-cpptools/issues/4079)
@@ -94,7 +602,7 @@
* Fix debugger can't debug file whose folder path includes a parenthesis. [#4030](https://github.com/microsoft/vscode-cpptools/issues/4030)
* Fix duplicate content appearing after formatting of a new file. [#4091](https://github.com/microsoft/vscode-cpptools/issues/4091)
* Fix `files.exclude` bug on Windows. [#4095](https://github.com/microsoft/vscode-cpptools/issues/4095)
* Fix NullReferenceException when `cwd` is null. [MIEngine#911](https://github.com/microsoft/MIEngine/issues/911)
* Fix NullReferenceException when `cwd` is null. [MIEngine#911](https://github.com/microsoft/MIEngine/issues/911)
* Fix wrong IntelliSense for C++ types after editing within a function and after a lambda.
## Version 0.24.1: July 22, 2019
@@ -104,7 +612,7 @@
## Version 0.24.0: July 3, 2019
### New Features
* Semantic colorization [Documentation](https://github.com/microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/colorization.md) [#230](https://github.com/microsoft/vscode-cpptools/issues/230)
* Semantic colorization [Documentation](https://github.com/microsoft/vscode-cpptools/blob/main/Documentation/LanguageServer/colorization.md) [#230](https://github.com/microsoft/vscode-cpptools/issues/230)
* Add `Rescan Workspace` command. [microsoft/vscode-cpptools-api#11](https://github.com/microsoft/vscode-cpptools-api/issues/11)
### Enhancements
@@ -378,7 +886,7 @@
* Don't show `includePath` code actions if compile commands or custom configuration providers are used. [#2334](https://github.com/Microsoft/vscode-cpptools/issues/2334)
* Fix `C_Cpp.clang_format_path` not accepting environment variables. [#2344](https://github.com/Microsoft/vscode-cpptools/issues/2344)
* Fix IntelliSense not working with non-ASCII characters in the WSL install path. [#2351](https://github.com/Microsoft/vscode-cpptools/issues/2351)
* Filter out buggy IntelliSense error `"= delete" can only appear on the first declaration of a function`. [#2352](https://github.com/Microsoft/vscode-cpptools/issues/2352)
* Filter out incorrect IntelliSense error `"= delete" can only appear on the first declaration of a function`. [#2352](https://github.com/Microsoft/vscode-cpptools/issues/2352)
* Fix IntelliSense failing with WSL if gcc is installed bug g++ isn't. [#2360](https://github.com/Microsoft/vscode-cpptools/issues/2360)
* Fix WSL paths starting with `/mnt/` failing to get symbols parsed. [#2361](https://github.com/Microsoft/vscode-cpptools/issues/2361)
* Fix IntelliSense process crash when hovering over a designated initializer list with an anonymous struct. [#2370](https://github.com/Microsoft/vscode-cpptools/issues/2370)
-203
View File
@@ -1,203 +0,0 @@
MICROSOFT PRE-RELEASE SOFTWARE LICENSE TERMS
MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE
These license terms are an agreement between Microsoft Corporation (or
based on where you live, one of its affiliates) and you. They apply to
the pre-release software named above. The terms also apply to any
Microsoft services or updates for the software, except to the extent
those have additional terms.
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW.
1. INSTALLATION AND USE RIGHTS. You may only use the C/C++ Extension
for Visual Studio Code with Visual Studio Code, Visual Studio or
Xamarin Studio software to help you develop and test your
applications.
2. TERMS FOR SPECIFIC COMPONENTS
a. Third Party Components. The software may include third party
components with separate legal notices or governed by other
agreements, as may be described in the ThirdPartyNotices file(s)
accompanying the software.
b. Package Managers. The software may include package managers, like
Nuget, that give you the option to download other Microsoft and third
party software packages to use with your application. Those packages
are under their own licenses, and not this agreement. Microsoft does
not distribute, license or provide any warranties for any of the third
party packages.
3. DATA.
a. Data Collection. The software may collect information about you and
your use of the software, and send that to Microsoft. Microsoft may
use this information to provide services and improve our products and
services. You may opt-out of many of these scenarios, but not all, as
described in the product documentation. There are also some features
in the software that may enable you and Microsoft to collect data from
users of your applications. If you use these features, you must comply
with applicable law, including providing appropriate notices to users
of your applications together with a copy of Microsofts privacy
statement. Our privacy statement is located at
https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more
about data collection and use in the help documentation and our
privacy statement. Your use of the software operates as your consent
to these practices.
b. Processing of Personal Data. To the extent Microsoft is a processor
or subprocessor of personal data in connection with the software,
Microsoft makes the commitments in the European Union General Data
Protection Regulation Terms of the Online Services Terms to all
customers effective May 25, 2018, at
http://go.microsoft.com/?linkid=9840733.
4. PRE-RELEASE SOFTWARE. This software is a pre-release version. It
may not work the way a final version of the software will. We may
change it for the final, commercial version. We also may not release a
commercial version.
5. FEEDBACK. If you give feedback about the software to Microsoft, you
give to Microsoft, without charge, the right to use, share and
commercialize your feedback in any way and for any purpose. You will
not give feedback that is subject to a license that requires Microsoft
to license its software or documentation to third parties because we
include your feedback in them. These rights survive this agreement.
6. SCOPE OF LICENSE. The software is licensed, not sold. This
agreement only gives you some rights to use the software. Microsoft
reserves all other rights. Unless applicable law gives you more rights
despite this limitation, you may use the software only as expressly
permitted in this agreement. In doing so, you must comply with any
technical limitations in the software that only allow you to use it in
certain ways. You may not
* work around any technical limitations in the software;
* reverse engineer, decompile or disassemble the software, or attempt
to derive the source code for the software, except and to the extent
required by third party licensing terms governing use of certain open
source components that may be included with the software;
* remove, minimize, block or modify any notices of Microsoft or its
suppliers in the software;
* use the software in any way that is against the law; or
* share, publish, rent, or lease the software, or provide the software
as a stand-alone hosted solution for others to use.
7. EXPORT RESTRICTIONS. You must comply with all domestic and
international export laws and regulations that apply to the software,
which include restrictions on destinations, end users and end use.
For further information on export restrictions, visit
(aka.ms/exporting).
8. SUPPORT SERVICES. Because this software is “as is,” we may not
provide support services for it.
9. ENTIRE AGREEMENT. This agreement, and the terms for supplements,
updates, Internet-based services and support services that you use,
are the entire agreement for the software and support services.
10. APPLICABLE LAW. If you acquired the software in the United
States, Washington law applies to interpretation of and claims for
breach of this agreement, and the laws of the state where you live
apply to all other claims. If you acquired the software in any other
country, its laws apply.
11. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes
certain legal rights. You may have other rights, including consumer
rights, under the laws of your state or country. Separate and apart
from your relationship with Microsoft, you may also have rights with
respect to the party from which you acquired the software. This
agreement does not change those other rights if the laws of your state
or country do not permit it to do so. For example, if you acquired the
software in one of the below regions, or mandatory country law
applies, then the following provisions apply to you:
a. Australia. You have statutory guarantees under the Australian
Consumer Law and nothing in this agreement is intended to affect those
rights.
b. Canada. If you acquired this software in Canada, you may stop
receiving updates by turning off the automatic update feature,
disconnecting your device from the Internet (if and when you re-
connect to the Internet, however, the software will resume checking
for and installing updates), or uninstalling the software. The product
documentation, if any, may also specify how to turn off updates for
your specific device or software.
c. Germany and Austria.
(i) Warranty. The properly licensed software will perform
substantially as described in any Microsoft materials that accompany
the software. However, Microsoft gives no contractual guarantee in
relation to the licensed software.
(ii) Limitation of Liability. In case of intentional conduct, gross
negligence, claims based on the Product Liability Act, as well as, in
case of death or personal or physical injury, Microsoft is liable
according to the statutory law.
Subject to the foregoing clause (ii), Microsoft will only be liable
for slight negligence if Microsoft is in breach of such material
contractual obligations, the fulfillment of which facilitate the due
performance of this agreement, the breach of which would endanger the
purpose of this agreement and the compliance with which a party may
constantly trust in (so-called "cardinal obligations"). In other cases
of slight negligence, Microsoft will not be liable for slight
negligence.
12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU
BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES,
GUARANTEES OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL
LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
13. LIMITATION ON AND EXCLUSION OF DAMAGES. YOU CAN RECOVER FROM
MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU
CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST
PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
This limitation applies to (a) anything related to the software,
services, content (including code) on third party Internet sites, or
third party applications; and (b) claims for breach of contract,
breach of warranty, guarantee or condition, strict liability,
negligence, or other tort to the extent permitted by applicable law.
It also applies even if Microsoft knew or should have known about the
possibility of the damages. The above limitation or exclusion may not
apply to you because your country may not allow the exclusion or
limitation of incidental, consequential or other damages.
Please note: As this software is distributed in Quebec, Canada, some
of the clauses in this agreement are provided below in French.
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines
des clauses dans ce contrat sont fournies ci-dessous en français.
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert
« tel quel ». Toute utilisation de ce logiciel est à votre seule
risque et péril. Microsoft naccorde aucune autre garantie
expresse. Vous pouvez bénéficier de droits additionnels en vertu du
droit local sur la protection des consommateurs, que ce contrat ne
peut modifier. La ou elles sont permises par le droit locale, les
garanties implicites de qualité marchande, dadéquation à un
usage particulier et dabsence de contrefaçon sont exclues.
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ
POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses
fournisseurs une indemnisation en cas de dommages directs uniquement
à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune
indemnisation pour les autres dommages, y compris les dommages
spéciaux, indirects ou accessoires et pertes de bénéfices.
Cette limitation concerne:
* tout ce qui est relié au logiciel, aux services ou au contenu (y
compris le code) figurant sur des sites Internet tiers ou dans des
programmes tiers ; et
* les réclamations au titre de violation de contrat ou de garantie,
ou au titre de responsabilité stricte, de négligence ou dune
autre faute dans la limite autorisée par la loi en vigueur.
Elle sapplique également, même si Microsoft connaissait ou
devrait connaître l’éventualité dun tel dommage. Si votre pays
nautorise pas lexclusion ou la limitation de responsabilité
pour les dommages indirects, accessoires ou de quelque nature que ce
soit, il se peut que la limitation ou lexclusion ci-dessus ne
sappliquera pas à votre égard.
EFFET JURIDIQUE. Le présent contrat décrit certains droits
juridiques. Vous pourriez avoir dautres droits prévus par les lois
de votre pays. Le présent contrat ne modifie pas les droits que vous
confèrent les lois de votre pays si celles-ci ne le permettent pas.
+16 -9
View File
@@ -1,17 +1,20 @@
# C/C++ for Visual Studio Code
#### [Repository](https://github.com/microsoft/vscode-cpptools)&nbsp;&nbsp;|&nbsp;&nbsp;[Issues](https://github.com/microsoft/vscode-cpptools/issues)&nbsp;&nbsp;|&nbsp;&nbsp;[Documentation](https://code.visualstudio.com/docs/languages/cpp)&nbsp;&nbsp;|&nbsp;&nbsp;[Code Samples](https://github.com/microsoft/vscode-cpptools/tree/master/Code%20Samples)&nbsp;&nbsp;|&nbsp;&nbsp;[Offline Installers](https://github.com/microsoft/vscode-cpptools/releases)
#### [Repository](https://github.com/microsoft/vscode-cpptools)&nbsp;&nbsp;|&nbsp;&nbsp;[Issues](https://github.com/microsoft/vscode-cpptools/issues)&nbsp;&nbsp;|&nbsp;&nbsp;[Documentation](https://code.visualstudio.com/docs/languages/cpp)&nbsp;&nbsp;|&nbsp;&nbsp;[Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)&nbsp;&nbsp;|&nbsp;&nbsp;[Offline Installers](https://github.com/microsoft/vscode-cpptools/releases)
[![Badge](https://aka.ms/vsls-badge)](https://aka.ms/vsls)
This preview release of the C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.
The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.
## Overview and getting started
## Overview and tutorials
* [C/C++ extension overview](https://code.visualstudio.com/docs/languages/cpp)
* [Get Started with C++ and Windows Subsystem for Linux (WSL)](https://code.visualstudio.com/docs/cpp/config-wsl)
* [Get Started with C++ and Mingw-w64](https://code.visualstudio.com/docs/cpp/config-mingw)
* [Get Started with C++ and Clang/LLVM on macOS](https://code.visualstudio.com/docs/cpp/config-clang-mac)
* [Get Started with C++ and Microsoft C++ compiler (MSVC)](https://code.visualstudio.com/docs/cpp/config-msvc)
C/C++ extension tutorials per compiler and platform
* [Microsoft C++ compiler (MSVC) on Windows](https://code.visualstudio.com/docs/cpp/config-msvc)
* [GCC and Mingw-w64 on Windows](https://code.visualstudio.com/docs/cpp/config-mingw)
* [GCC on Windows Subsystem for Linux (WSL)](https://code.visualstudio.com/docs/cpp/config-wsl)
* [GCC on Linux](https://code.visualstudio.com/docs/cpp/config-linux)
* [Clang on macOS](https://code.visualstudio.com/docs/cpp/config-clang-mac)
## Quick links
* [Editing features (IntelliSense)](https://code.visualstudio.com/docs/cpp/cpp-ide)
@@ -49,9 +52,13 @@ The extension has platform-specific binary dependencies, therefore installation
Package | Platform
:--- | :---
`cpptools-linux.vsix` | Linux 64-bit
`cpptools-linux32.vsix` | Linux 32-bit
`cpptools-osx.vsix` | macOS
`cpptools-linux-armhf.vsix` | Linux ARM 32-bit
`cpptools-linux-aarch64.vsix` | Linux ARM 64-bit
`cpptools-osx.vsix` | macOS 64-bit
`cpptools-osx-arm64.vsix` | macOS ARM64
`cpptools-win32.vsix` | Windows 64-bit & 32-bit
`cpptools-win-arm64.vsix` | Windows ARM64
`cpptools-linux32.vsix` | Linux 32-bit ([available up to version 0.27.0](https://github.com/microsoft/vscode-cpptools/issues/5346))
## Contribution
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
{
"defaults": [
"cpfe",
"--wchar_t_keyword",
"--no_warnings",
"--rtti",
"--edge",
"--exceptions",
"--error_limit",
"25000",
"-D_EDG_COMPILER",
"-D_USE_DECLSPECS_FOR_SAL=1"
],
"source_file_format": "-f %s",
"expressions": [
{
"match": "^/I(.*)",
"replace": "-I\n$1"
},
{
"match": "^/D(.*)",
"replace": "-D$1"
},
{
"match": "^/AI(.*)",
"replace": "--using_directory\n$1"
},
{
"match": "^/dE--header_only_fallback",
"replace": "--header_only_fallback"
}
]
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__arm__=1",
"-D__ARM_32BIT_STATE=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__aarch64__=1",
"-D__ARM_64BIT_STATE=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__x86_64=1",
"-D__x86_64__=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__i386=1",
"-D__i386__=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__arm__=1",
"-D__ARM_32BIT_STATE=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__aarch64__=1",
"-D__ARM_64BIT_STATE=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__x86_64=1",
"-D__x86_64__=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+15
View File
@@ -0,0 +1,15 @@
{
"defaults": [
"--pack_alignment",
"8",
"-Dunix=1",
"-D__unix__=1",
"-D__linux__=1",
"-D__i386=1",
"-D__i386__=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__arm__=1",
"-D__ARM_32BIT_STATE=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__aarch64__=1",
"-D__ARM_64BIT_STATE=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__x86_64=1",
"-D__x86_64__=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__i386=1",
"-D__i386__=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__arm__=1",
"-D__ARM_32BIT_STATE=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__aarch64__=1",
"-D__ARM_64BIT_STATE=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__x86_64=1",
"-D__x86_64__=1",
"-D__PTRDIFF_TYPE__=long int",
"-D__SIZE_TYPE__=long unsigned int",
"-D__WCHAR_TYPE__=int"
],
"defaults_op" : "merge"
}
+14
View File
@@ -0,0 +1,14 @@
{
"defaults": [
"--pack_alignment",
"8",
"-D__APPLE__=1",
"-D__MACH__=1",
"-D__i386=1",
"-D__i386__=1",
"-D__PTRDIFF_TYPE__=int",
"-D__SIZE_TYPE__=unsigned int",
"-D__WCHAR_TYPE__=long int"
],
"defaults_op" : "merge"
}
+302 -119
View File
@@ -74,9 +74,9 @@
null,
null,
null,
"operand * musí být ukazatel",
"Operand pro * musí být ukazatel, má ale typ %t.",
"argument v makru je prázdný",
"tato deklarace nemá třídu pro uložení specifikátoru typu",
"tato deklarace nemá třídu úložiště specifikátoru typu",
"deklarace parametru nesmí mít inicializátor",
"očekával se specifikátor typu",
"třída úložiště tady nesmí být zadaná",
@@ -130,8 +130,8 @@
"smyčka je nedosažitelná",
"funkce rozsahu bloku může mít jenom externí třídu úložiště",
"očekával se znak {",
"Výraz musí t typu ukazatel na třídu.",
"Výraz musí t typu ukazatel na strukturu nebo sjednocení.",
"Výraz musí t typ ukazatele na třídu, má ale typ %t.",
"Výraz musí t typ ukazatele na strukturu nebo sjednocení, má ale typ %t.",
"očekával se název člena",
"očekával se název pole",
"%n nemá žádného člena %sq",
@@ -141,7 +141,7 @@
"Převzetí adresy bitového pole není povolené.",
"příliš moc argumentů ve volání funkce",
"nepojmenované parametry prototypů nejsou dovolené, když se používá text",
"Výraz musí t typu ukazatel na objekt.",
"Výraz musí t typ ukazatele na objekt, má ale typ %t.",
"program je moc velký nebo komplikovaný k sestavení",
"Hodnota typu %t1 se nedá použít k inicializaci entity typu %t2.",
"%n se nedá inicializovat",
@@ -152,8 +152,8 @@
"Název typu se nedá znova deklarovat jako parametr.",
"Název typedef se nedá znova deklarovat jako parametr.",
"konverze nenulového celého čísla na ukazatel",
"výraz musí mít typ třídy",
"výraz musí mít typ struktury nebo jednoty",
"Výraz musí mít typ třídy, má ale typ %t.",
"Výraz musí mít typ struktury nebo sjednocení, má ale typ %t.",
"zastaralý operátor přiřazení",
"Zastaralý inicializátor",
"Výraz musí být výrazem integrální konstanty.",
@@ -171,7 +171,7 @@
"Očekávala se deklarace.",
"Ukazatel ukazuje mimo podkladový objekt.",
"neplatný typ konverze",
"konflikt externí/interní vazby s předchozí deklarací",
"konflikt externího/interního propojení s předchozí deklarací %p",
"Hodnota s plovoucí desetinnou čárkou se nevejde do požadovaného integrálního typu.",
"Výraz nemá žádný účinek.",
"Dolní index je mimo rozsah.",
@@ -334,10 +334,10 @@
"Třída %t nemá žádný kopírovací konstruktor pro kopírování objektu const.",
"Definování implicitně deklarované členské funkce není povolené.",
"Třída %t nemá žádný vhodný kopírovací konstruktor.",
"Specifikace vazby není povolená.",
"neznámá specifikace externí vazby",
"Specifikace vazby je nekompatibilní s předchozí %nod.",
"Víc než jedna instance funkce přetížení %no má vazbu C.",
"Specifikace propojení není povolená.",
"neznámá specifikace externího propojení",
"Specifikace propojení je nekompatibilní s předchozí %nod.",
"Víc než jedna instance funkce přetížení %no má propojení C.",
"Třída %t má víc než jeden výchozí konstruktor.",
"Hodnota se zkopírovala do dočasných položek. Použil se odkaz na dočasné položky.",
"Operátor operator%s musí být členskou funkcí.",
@@ -392,7 +392,7 @@
"Funkce main se zřejmě nevolala nebo nedošlo k převzetí její adresy.",
"Nový inicializátor se nedá specifikovat pro pole.",
"Členská funkce %no se nemůže deklarovat mimo svoji třídu.",
"Ukazatel na nekompletní typ třídy není povolený.",
"Ukazatel na nekompletní typ třídy %t není povolený.",
"Odkaz na místní proměnnou vnější funkce není povolený.",
"Funkce s jedním argumentem se použila pro příponu %sq (anachronizmus).",
null,
@@ -420,9 +420,9 @@
"Použije se víc než jedna funkce pro převod z %t na předdefinovaný typ:",
"Konstanta %n",
"Odkaz %n",
"%npT",
"%npTd",
"předdefinovaný operátor %sq",
"%no (zděděná dvojznačnost)",
"%nod, nejednoznačné kvůli dědičnosti",
"Adresa konstruktoru nebo destruktoru se pravděpodobně nepřevzala.",
null,
"Pro původní hodnotu odkazu na nekonstantní typ se použilo temporary (anachronizmus).",
@@ -455,7 +455,7 @@
"Zjistilo se během:",
"vytvoření instance %nt %p",
"implicitní generování %nt %p",
"nadměrná rekurze u instanciace %n",
"nadměrná rekurze u vytváření instance %n",
"%sq není funkcí nebo členem statických dat.",
"Argument typu %t1 je nekompatibilní s parametrem šablony typu %t2.",
"Inicializace vyžadující dočasnou instanci nebo konverzi není povolená.",
@@ -472,7 +472,7 @@
"Globální rozsah nemá žádnou značku s názvem %sq.",
"%n nemá žádného člena značky s názvem %sq.",
"definice typu členské funkce (povolená pro kompatibilitu s cfront)",
"%n se může použít jenom v deklaraci ukazatele na člena.",
"%n se může použít jenom v deklaraci ukazatele na člen.",
null,
"Argument šablony nemůže odkazovat na neexterní entitu.",
"Název následovaný ::~ musí být názvem třídy nebo názvem typu.",
@@ -483,7 +483,7 @@
"neplatná třída úložiště pro deklaraci šablony",
"%nd je nedostupný typ (povolený pro kompatibilitu s cfront).",
null,
"neplatná deklarace explicitní instanciace",
"neplatná deklarace explicitního vytváření instance",
"%nf není entitou, ze které se dá vytvořit instance.",
"Z kompilátorem generovaného %n se nedá explicitně vytvořit instance.",
"Z vloženého %n se nedá explicitně vytvořit instance.",
@@ -552,7 +552,7 @@
"Došlo k nastavení %n, nikdy ale nedošlo k jeho použití.",
"%n se nedá definovat v aktuálním rozsahu.",
"Specifikace výjimky není povolená.",
"konflikt externí/interní vazby pro %nfd",
"konflikt externího/interního propojení pro %nfd",
"%nf se nebude volat pro implicitní nebo explicitní konverze.",
"Druh značky %s je nekompatibilní s parametrem šablony typu %t.",
"Šablona funkce pro operátor new(size_t) není povolená.",
@@ -586,8 +586,8 @@
null,
"Tabulky virtuálních funkcí se dají potlačit jenom při kompilaci C++.",
"Možnost anachronizmu se dá použít jenom při kompilaci C++.",
"Možnost režimu instanciace se dá použít jenom při kompilaci C++.",
"Režim automatické instanciace se dá použít jenom při kompilaci C++.",
"Možnost režimu vytváření instance se dá použít jenom při kompilaci C++.",
"Režim automatického vytváření instance se dá použít jenom při kompilaci C++.",
"Režim implicitního zahrnutí šablony se dá použít jenom při kompilaci C++.",
"Možnost zpracování výjimek se dá použít jenom při kompilaci C++.",
"Striktní režim je nekompatibilní s režimem K&R.",
@@ -598,10 +598,10 @@
"Výstupní soubor je určený, ale není potřeba.",
"Zobrazení IL vyžaduje název souboru IL.",
"Parametr šablony nemůže být typu void.",
"nadměrná rekurzivní instanciace %n z důvodu režimu instantiate-all",
"nadměrné rekurzivní vytváření instance %n z důvodu režimu instantiate-all",
"Striktní režim je nekompatibilní s povolením anachronizmů.",
"Výraz throw nemůže být typu void.",
"Režim místní instanciace je nekompatibilní s automatickou instanciací.",
"Režim místního vytváření instance je nekompatibilní s automatickou instanciací.",
"Parametr typu abstraktní třídy %t není povolený:",
"Pole abstraktní třídy %t není povolené:",
"Parametr šablony s plovoucí desetinnou čárkou je nestandardní.",
@@ -799,7 +799,7 @@
null,
"Možnost old_specializations se dá použít jenom při kompilaci C++.",
"Specializace %n bez syntaxe template<> je nestandardní.",
"Tato deklarace nemůže mít externí vazbu C.",
"Tato deklarace nemůže mít externí C-linkage.",
"%sq není třídou nebo názvem šablony funkce v aktuálním rozsahu.",
"Specifikace výchozího argumentu při změně deklarace neodkazované šablony funkce je nestandardní.",
"Specifikace výchozího argumentu při změně deklarace už odkazované šablony funkce není povolená.",
@@ -817,7 +817,7 @@
"Kvalifikátor typu u návratového typu nemá žádný smysl.",
"Kvalifikátor typu u návratového typu void není v definici funkce povolený.",
"Deklarace člena statických dat není v této třídě povolená.",
"Výsledkem instanciace šablony je neplatná deklarace funkce.",
"Výsledkem vytváření instance šablony je neplatná deklarace funkce.",
"... se nepovolují.",
"Možnost extern_inline se dá použít jenom při kompilaci C++.",
"Možnost extern inline %n je odkazovaná ale nedefinovaná.",
@@ -845,7 +845,7 @@
null,
"Seznam argumentů šablony částečné specializace obsahuje netypový argument, jehož typ závisí na parametru šablony.",
"Tato částečná specializace by se použila k instanciaci %n.",
"Tato částečná specializace by vytvořila instanciaci %n jako dvojznačnou.",
"Tato částečná specializace by vytvořila instanci %n jako dvojznačnou.",
"Výraz musí být integrálního nebo výčtového typu.",
"Výraz musí mít aritmetický nebo výčtový typ.",
"Výraz musí být aritmetického nebo výčtového typu nebo typu ukazatel.",
@@ -870,7 +870,7 @@
"Mezi sousedními oddělovači > seznamu argumentů vnořené šablony se vyžaduje místo (>> je operátor pravý shift).",
"Nepodařilo se nastavit národní prostředí %sq za účelem povolení zpracování vícebajtových znaků.",
"neplatná posloupnost vícebajtových znaků",
"Výsledkem instanciace šablony je neočekávaný typ funkce %t1 (význam názvu se mohl od deklarace šablony změnit typ šablony je %t2).",
"Výsledkem vytvoření instance šablony je neočekávaný typ funkce %t1 (význam názvu se mohl od deklarace šablony změnit typ šablony je %t2).",
"Víceznačná vodicí deklarace víc než jedna šablona funkce %no odpovídá typu %t.",
"Neintegrální operace není v netypovém argumentu šablony povolená.",
"Možnost embedded_c++ se dá použít jenom při kompilaci C++.",
@@ -883,7 +883,7 @@
"Vložený kód C++ nepodporuje možnost mutable.",
"Vložený kód C++ nepodporuje vícenásobnou nebo virtuální dědičnost. ",
"neplatné číslo verze Microsoftu: %s",
"Reprezentace ukazatele na člena %sq už je pro %n nastavená.",
"Reprezentace ukazatele na člen %sq už je pro %n nastavená.",
"%t1 se nedá použít k určení konstruktoru pro %t2.",
"neplatná přípona u integrální konstanty",
"Operand __uuidof musí mít typ třídy nebo výčtu, pro který je specikovaný __declspec(uuid('...')).",
@@ -891,7 +891,7 @@
"Možnost vla se dá použít jenom při kompilaci C.",
"Pole proměnné délky s nespecifikovanou vazbou není povolené.",
"Seznam explicitních argumentů šablony není u této deklarace povolený.",
"Entita s vazbou nemůže mít typ zahrnující pole proměnné délky.",
"Entita s propojením nemůže mít typ zahrnující pole proměnné délky.",
"Pole proměnné délky nemůže mít trvání statického úložiště.",
"%n není šablona.",
"rozměr pole proměnné délky (deklarovaný %p)",
@@ -916,11 +916,11 @@
null,
null,
"Ukazatel na člena odvozené třídy %t1 se nedá převést na ukazatel na člena základní třídy %t2 základní třída je virtuální.",
"neplatný adresář pro soubory instancí: %s",
"neplatný adresář pro soubory vytváření instancí: %s",
"Možnost one_instantiation_per_object se dá použít jenom při kompilaci C++.",
null,
null,
"Soubor informací o instanciaci se nemůže specifikovat při kompilaci několika vstupních souborů.",
"Soubor informací o vytváření instance se nemůže specifikovat při kompilaci několika vstupních souborů.",
"Možnost one_instantiation_per_object se nemůže použít při kompilaci několika vstupních souborů.",
"Víc než jedna možnost příkazového řádku odpovídá zkratce '--%s'.",
"--%s",
@@ -930,7 +930,7 @@
"nesprávné použití va_start",
"nesprávné použití va_arg",
"nesprávné použití va_end",
"Možnost čekajících instanciací se dá použít jenom při kompilaci C++.",
"Možnost čekajících vytváření instance se dá použít jenom při kompilaci C++.",
"neplatný adresář pro #import souborů: %s",
"Adresář importu se dá specifikovat jenom v režimu Microsoftu.",
"Člen s typem odkaz není ve sjednocení povolený.",
@@ -938,8 +938,8 @@
"Změna deklarace %n změní jeho přístup.",
"Vyžaduje se kvalifikovaný název třídy nebo oboru názvů.",
"Návratový typ int se v deklaraci funkce main vynechal.",
"Reprezentace ukazatele na člena %sq je pro %n příliš omezující.",
"Na konci typu jiného než void %n chybí návratový příkaz.",
"Reprezentace ukazatele na člen %sq je pro %n příliš omezující.",
"Na konci typu jiného než void %n chybí příkaz return.",
"Duplicitní deklarace using %no se ignoruje.",
"bitová pole výčtu musí být vždycky bez znaménka, výčet %t ale obsahuje záporný enumerátor",
"Možnost class_name_injection se dá použít jenom při kompilaci C++.",
@@ -953,15 +953,15 @@
"Návratový typ funkce main musí být int.",
"Netypový parametr šablony nemůže být typu třídy.",
"Výchozí argument šablony se nemůže specifikovat u deklarace člena šablony třídy mimo jeho třídu.",
"Návratový příkaz není povolený v obslužné rutině testovacího bloku funkce konstruktoru.",
"Příkaz return není povolený v obslužné rutině testovacího bloku funkce konstruktoru.",
"Běžné nebo rozšířené specifikátory se nedají kombinovat v označení inicializátoru.",
"Druhý dolní index nesmí být menší než první dolní index.",
null,
"Možnost extended_designators se dá použít jenom při kompilaci C.",
"Deklarovaná velikost pro bitové pole je větší než velikost typu bitového pole. Došlo ke zkrácení na %s bitů.",
"Typ použitý jako název konstruktoru neodpovídá typu %t.",
"použití typu bez vazby k deklaraci proměnné s vazbou",
"použití typu bez vazby k deklaraci funkce",
"použití typu bez propojení k deklaraci proměnné s propojením",
"použití typu bez propojení k deklaraci funkce",
"Návratový typ nemůže být u konstruktoru specifikovaný.",
"Návratový typ nemůže být u destruktoru specifikovaný.",
"nesprávně vytvořený univerzální název znaku",
@@ -983,7 +983,7 @@
"nahradit funkci z převodu %np",
"Existuje víc způsobů, jak se může u objektu typu %t volat seznam argumentů:",
"Název typedef už je deklarovaný (s podobným typem).",
"Operátor new a operátor delete nemůžou mít interní vazbu.",
"Operátor new a operátor delete nemůžou mít interní propojení.",
"Třída úložiště mutable není povolená pro anonymní sjednocení.",
"neplatný soubor předkompilované hlavičky",
"Abstraktní typ třídy %t není povolený jako typ zachycení:",
@@ -1006,7 +1006,7 @@
"Striktní režim je nekompatibilní s režimem Sun.",
"Režim Sun je povolený jenom při kompilaci C++.",
"Parametr Template šablony nemůže mít stejný název jako jeden z jeho parametrů šablony.",
"rekurzivní instanciace výchozího argumentu",
"rekurzivní vytváření instance výchozího argumentu",
null,
"%n není entita, která se dá definovat.",
"Název destruktoru musí být kvalifikovaný.",
@@ -1019,7 +1019,7 @@
"Smyčka v posloupnosti funkcí operator-> začíná u třídy %t1.",
"%n nemá žádnou členskou třídu %sq.",
"Globální rozsah neobsahuje žádnou třídu s názvem %sq.",
"rekurzivní instanciace výchozího argumentu šablony",
"rekurzivní vytváření instance výchozího argumentu šablony",
"Deklarace access a deklarace using se nemůžou vyskytovat ve sjednoceních.",
"%no není členem třídy.",
"Nestandardní deklarace členské konstanty není povolená.",
@@ -1030,7 +1030,7 @@
"neplatná změna deklarace vnořené třídy",
"Typ obsahující pole s neznámou velikostí není povolený.",
"Proměnná s trváním statického úložiště se nedá definovat uvnitř vložené funkce.",
"Na entitu s interní vazbou se nedá odkazovat z vložené funkce s externí vazbou.",
"Na entitu s interním propojením se nedá odkazovat z vložené funkce s externím propojením.",
"Typ argumentu %t neodpovídá tomuto typově obecnému makru funkce.",
"pole s proměnnou délkou %nod",
"Deklarace typu friend nemůže přidat výchozí argumenty do předchozí deklarace.",
@@ -1067,7 +1067,7 @@
"Deklarace pole nemůže být typu zahrnujícího pole s proměnnou délkou.",
"Deklarace %n měla během kompilace %sq jiný význam.",
"Očekávalo se klíčové slovo template.",
"Klíčové slovo export se nedá použít u explicitní instanciace.",
"Klíčové slovo export se nedá použít u explicitního vytváření instance.",
"Klíčové slovo export se nedá použít u této deklarace.",
"Člen nepojmenovaného oboru názvů se nedá deklarovat jako export.",
"Šablona se nedá deklarovat jako export po své definici.",
@@ -1198,7 +1198,7 @@
"Skrytá deklarace je %p.",
"Deklarace prototypu %nfd se po této neprototypové změně deklarace ignoruje.",
null,
"%npd musí mít externí vazbu C.",
"%npd musí mít externí C-linkage.",
"Deklarace proměnné skrývá deklaraci v inicializátoru for.",
"Definice typu %sq se nedá použít ve vysvětlujícím specifikátoru typu.",
"Volání nulové konstanty se ignoruje.",
@@ -1229,7 +1229,7 @@
"Přenos řízení na výraz příkazu není povolený.",
null,
"Tento příkaz není povolený uvnitř výrazu příkazu.",
"Definice třídy jiného typu než POD není povolená uvnitř výrazu příkazu.",
"Třída, která nejde triviálně kopírovat, se nedá definovat uvnitř výrazu příkazu.",
null,
"Dynamicky inicializovaná místní statická proměnná není povolená uvnitř výrazu příkazu.",
"Pole s proměnnou délkou není povolené uvnitř výrazu příkazu.",
@@ -1256,7 +1256,7 @@
"přetečení celého čísla v interním výpočtu z důvodu velikosti nebo složitosti %t",
"přetečení celého čísla v interním výpočtu",
"__w64 se dá specifikovat jenom u typů int, long a ukazatel.",
"Potenciální zúžení konverze při kompilaci prostředí, ve kterém jsou typy int, long nebo ukazatel 64 bitů široké.",
"Potenciální zužující převod při kompilaci prostředí, ve kterém jsou typy int, long nebo ukazatel 64 bitů široké.",
"Aktuální hodnota sady pragma je %s.",
"Argumenty pro sadu pragma (show) se ignorují.",
null,
@@ -1289,8 +1289,8 @@
"Kvalifikátor konstanty se ignoruje.",
null,
"neplatné kvalifikátory asm GNU",
"Typ třídy, který není POD, se předal prostřednictvím parametru tři tečky.",
"Typ třídy, který není POD, se nedá načíst pomocí va_arg.",
"Typ třídy, která nejde triviálně kopírovat, byla předána pomocí výpustky.",
"Typ třídy, která nejde triviálně kopírovat, nejde načíst pomocí va_arg.",
"Přípona u nebo U se musí vyskytovat před příponou l nebo L v literálu s pevnou desetinnou čárkou.",
"Možnost fixed_point se dá použít jenom při kompilaci C.",
"Celočíselný operand může způsobit přetečení typu s pevnou desetinnou čárkou.",
@@ -1361,14 +1361,14 @@
"Proměnné atributy vyskytující se po inicializátoru v závorkách se ignorují.",
"Výsledek tohoto přetypování se nedá použít jako l-hodnota.",
"negace hodnoty s pevnou desetinnou čárkou bez znaménka",
"Tento operátor není v tuto chvíli povolený, použijte závorky.",
null,
null,
"Názvy registru se můžou použít jenom pro proměnné registru.",
"Proměnné pojmenovaného registru nemůžou být typu void.",
null,
"Parametry nemůžou mít specifikátory oboru odkazů.",
"několik specifikátorů oboru odkazů",
"Specifikátory oboru odkazů se můžou vyskytovat jenom u funkcí a proměnných s externí vazbou.",
"Specifikátory oboru odkazů se můžou vyskytovat jenom u funkcí a proměnných s externím propojením.",
"Změna deklarace nemůže oslabit obor odkazů.",
"Specifikátor oboru odkazů není u této deklarace povolený.",
"nestandardní kvalifikovaný název v deklaraci globálního rozsahu",
@@ -1391,7 +1391,7 @@
"Změnou deklarace se nedá přidat dllexport/dllimport k %nod.",
"Dllexport/dllimport je v konfliktu s %nod. Očekával se dllexport.",
"Entita dllimport se nedá definovat.",
"Dllexport/dllimport vyžaduje externí vazbu.",
"Dllexport/dllimport vyžaduje externí propojení.",
"Člen třídy deklarované pomocí dllexport/dllimport nemůže sám být deklarovaný pomocí takového specifikátoru.",
"pole typu třídy bez rozhraní DLL použité v třídě s rozhraním DLL",
"Deklarace člena v závorkách je nestandardní.",
@@ -1406,7 +1406,7 @@
"Typ pole s proměnnou délkou není v ukazateli na člena typu %t povolený.",
"Výsledkem výrazu příkazu nemůže být typ zahrnující pole s proměnnou délkou.",
"Podpora spřežky tří znaků je vypnutá.",
"Atribut %sq se může vyskytovat jenom u funkcí a proměnných s externí vazbou.",
"Atribut %sq se může vyskytovat jenom u funkcí a proměnných s externím propojením.",
"Striktní režim je nekompatibilní se zpracováním oboru názvů std jako aliasu pro globální obor názvů.",
"v rozšíření makra %s %p",
"<NEZNÁMÝ>",
@@ -1426,7 +1426,7 @@
"Druhý operand offsetof musí být pole.",
"Druhý operand offsetof nemůže být bitové pole.",
"Offsetof se nedá použít u člena virtuální základny.",
"Použití offsetof u typů jiných než POD je nestandardní.",
"Makro OffsetOf se použilo u jiného typu než třída se standardním rozložením.",
"Výchozí argumenty nejsou povolené u deklarací typu friend členských funkcí.",
"Výchozí argumenty nejsou povolené u deklarací typu friend, které nejsou definicemi.",
"Změna deklarace %nd dřív deklarovaného jako friend pomocí výchozích argumentů není povolená.",
@@ -1535,7 +1535,7 @@
"neplatná hodnota cannot-redefine",
"duplicitní modifikátor funkce",
"neplatný znak pro literál char16_t",
"__LPREFIX se nedá použít u literálů char8_t, char16_t nebo char32_t.",
null,
"Nerozpoznaná konvence volání %s, musí být jednou z:",
null,
null,
@@ -1555,14 +1555,14 @@
"Nestandardní prázdný literál širokého znaku se zpracoval jako L\\0.",
"Typename se tady nedá určit.",
"Operátor delete bez umístění musí být ve třídě s virtuálním destruktorem viditelný.",
"Vazba názvu je v konfliktu s předchozí deklarací %nd.",
"Propojení názvu je v konfliktu s předchozí deklarací %nd.",
"Alias vytvořil cyklus entit s aliasem.",
null,
"Proměnná s trváním statického úložiště přidělená v konkrétním registru se nedá deklarovat pomocí inicializátoru.",
"Proměnná přidělená v konkrétním registru musí být typu POD.",
"Proměnná přidělená v určitém registru musí být triviálně kopírovatelná.",
"Předdefinovaný význam %no se zahodil.",
null,
"Specifikátor nemůže specifikovat dílčí objekt, který není typu POD.",
"nevhodný typ třídy pro použití s označeními (specifikátory)",
null,
"Kvalifikátor anonymního sjednocení je nestandardní.",
"Kvalifikátor anonymního sjednocení se ignoruje.",
@@ -1578,7 +1578,7 @@
"Název pole se vyhodnocuje jako víc než jeden posun viz %nod1 a %nod2.",
"%sq není názvem pole.",
"Hodnota popisku případu se v tomto přepínači %p už zobrazila.",
"Členská funkce nemůže mít interní vazbu.",
"Členská funkce nemůže mít interní propojení.",
"Deklarace skryje předdefinovaný %n.",
"Deklarace přetěžuje předdefinovaný %n.",
"Při kompilaci víc než jedné jednotky překladu nemusí být specifikovaná možnost pro výpis definicí maker.",
@@ -1600,7 +1600,7 @@
"Typ auto tady není povolený.",
"Definice typu základní třídy ještě není dokončená.",
"Klíčové slovo extern template nemůže odkazovat na specializaci statického %nd.",
"Klíčové slovo extern template nemůže následovat po explicitní instanciaci %n.",
"Klíčové slovo extern template nemůže následovat po explicitní vytváření instance %n.",
"__declspec(restrict) vyžaduje funkci vracející typ ukazatele.",
"Možnost report_gnu_extensions je platná jenom v režimech GNU C a GNU C++.",
"Typy pole s proměnnou délkou jsou nestandardní.",
@@ -1634,11 +1634,11 @@
"__sptr a __uptr se nedají specifikovat zároveň.",
"Rozšiřující konverze ukazatele z %t1 na %t2 rozšiřuje bit znaménka.",
"__sptr a __uptr se nedají použít u typů ukazatel na člena.",
"Deklarace kopírovacího operátoru přiřazení pro %t se potlačila, protože %n je konstanta.",
"Deklarace operátoru přiřazení pro kopírování pro %t se potlačila, protože %n je konstanta.",
null,
"Deklarace kopírovacího operátoru přiřazení pro %t1 se potlačila, protože došlo k potlačení deklarace %t2.",
"Deklarace kopírovacího operátoru přiřazení pro %t1 se potlačila, protože deklarace %t2 je dvojznačná.",
"Deklarace kopírovacího operátoru přiřazení pro %t1 se potlačila, protože deklarace %t2 není přístupná.",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože došlo k potlačení deklarace %t2.",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 je dvojznačná.",
"Deklarace operátoru přiřazení pro kopírování pro %t1 se potlačila, protože deklarace %t2 není přístupná.",
"Deklarace kopírovacího konstruktoru pro %t1 se potlačila, protože došlo k potlačení deklarace %t2.",
"Deklarace kopírovacího konstruktoru pro %t1 se potlačila, protože deklarace %t2 je dvojznačná.",
"Deklarace kopírovacího konstruktoru pro %t1 se potlačila, protože deklarace %t2 není přístupná.",
@@ -1657,7 +1657,7 @@
"%n se nedá deklarovat vložené po vlastní definici %p.",
null,
null,
"Argument šablony nemůže odkazovat na typ s vazbou bez názvu.",
"Argument šablony nemůže odkazovat na typ s propojením bez názvu.",
"Klíčové slovo virtual se tady ignoruje.",
"Argument šablony nemůže odkazovat na typ pole s proměnnou délkou.",
"Univerzální název znaku nemůže určit náhradní bod kódu.",
@@ -1670,7 +1670,7 @@
"Kvalifikátor typu není povolený u konstruktoru nebo destruktoru.",
"Kvalifikátor typu není povolený u operátoru new a operátoru delete.",
"Kvalifikátor typu není povolený u nečlenské funkce.",
"Výraz __assume s vedlejšími účinky se zahodil.",
"Argument pro %s má vedlejší účinky, ale nevyhodnotil se.",
"nerozpoznaný druh zdroje Unicode (musí být jedním z UTF-8, UTF-16, UTF-16LE, UTF-16BE): %s",
"Znak Unicode se šestnáctkovou hodnotou %s se nedá prezentovat v předzpracovávaném výstupu.",
"Požadovaná priorita konstruktoru/destruktoru je rezervovaná pro interní použití.",
@@ -1707,7 +1707,7 @@
"je adresářem",
"neplatný název souboru",
"seznam definic",
"instance žádosti",
"žádost o vytvoření instance",
"exportovaná šablona",
"informace o exportu",
"informace o šabloně",
@@ -1731,7 +1731,7 @@
"Explicitní zachycení odpovídá výchozímu.",
"%n není proměnná.",
"Proměnná s trváním statického úložiště se nedá zachytit ve výrazu lambda.",
"Klíčové slovo this se nedá zachytit odkazem.",
"Klíčové slovo this se nedá zachytit pomocí odkazu.",
"Klíčové slovo this se nedá použít uvnitř těla tohoto výrazu lambda.",
"Na člena anonymního sjednocení vnějšího rozsahu se nedá odkazovat uvnitř těla výrazu lambda.",
"Na místní proměnnou vnější funkce se nedá odkazovat v těle výrazu lambda, pokud není na seznamu zachycení.",
@@ -1771,7 +1771,7 @@
"Parametr šablony bez typu nemůže být typem odkazu r-hodnoty.",
"Kvalifikátory typu se ignorují (nadřízený typ je odkaz).",
"%n, deklarovaný pomocí místního typu, musí být definovaný v této jednotce překladu.",
"%n, deklarovaný pomocí typu bez vazby, musí být definovaný v této jednotce překladu.",
"%n, deklarovaný pomocí typu bez propojení, musí být definovaný v této jednotce překladu.",
"Operand odkazu r-hodnoty dynamic_cast musí být kompletního typu třídy.",
"= default se dá použít jenom u výchozích konstruktorů, kopírovacích konstruktorů nebo konstruktorů přesunutí, kopírovacích operátorů přiřazení nebo operátorů přiřazení přesunutí a destruktorů.",
"= delete se může vyskytovat jenom u první deklarace funkce.",
@@ -1862,7 +1862,7 @@
"Atribut %sq se nedá použít u nestatických členských funkcí.",
"Atribut %sq se nedá použít u automatických proměnných.",
"Atribut %sq vyžaduje automatickou proměnnou.",
"Atribut %sq se nedá použít u proměnné nebo funkce s vnější vazbou.",
"Atribut %sq se nedá použít u proměnné nebo funkce s externím propojením.",
"Atribut %sq vyžaduje místní proměnnou.",
"Atributy se tady ignorují.",
"Atribut se nedá použít u žádné entity.",
@@ -1881,7 +1881,7 @@
"Volání __builtin_fpclassify vyžaduje pět integrálních argumentů následovaných jedním argumentem s plovoucí desetinnou čárkou.",
"Posledním argumentem ve volání __builtin_fpclassify musí být reálný typ s plovoucí desetinnou čárkou.",
"Zarovnání se nedá nastavit na míň než výchozí zarovnání.",
"Atributy nejsou u explicitních instanciací povolené.",
"Atributy nejsou u explicitních vytváření instance povolené.",
"Atribut %sq se nedá použít u definice.",
"Atribut %sq vyžaduje definici.",
"Standardní atributy se nemůžou vyskytovat v deklaracích typu friend, které nejsou definicemi.",
@@ -2207,7 +2207,7 @@
"Pole initonly se dá modifikovat jenom konstruktorem instance třídy, která ho obsahuje.",
"Statické pole initonly se dá modifikovat jenom statickým konstruktorem třídy, která ho obsahuje.",
"Členská funkce se vyvolá u kopie pole initonly.",
"Výraz musí t typu popisovač nebo typu ukazatel.",
"Výraz musí t typ ukazatele nebo popisovače, má ale typ %t.",
"Přenosový konstruktor nebo přenosový operátor přiřazení se tady použije ke zkopírování l-hodnoty. To může zničit zdrojový objekt.",
"Při výběru člena u obecné entity %[C++/CLI] se musí použít syntaxe \"->\", ne \".\".",
"Typ referenční třídy nemůže odvozovat od %t.",
@@ -2219,7 +2219,7 @@
"Výraz __underlying_type se vztahuje jenom na typy výčtu.",
"U tohoto přetypování se očekával jenom jeden výraz operandu.",
"Znak Unicode s šestnáctkovou hodnotou %s se nedá prezentovat ve výchozí systémové znakové stránce.",
"Nestandardní převod svázaného ukazatele na člena na ukazatel funkce",
"Nestandardní převod svázaného ukazatele na člen na ukazatel funkce",
"Specifikátor přístupu %s1 je zastaralý. Použijte místo něj %s2.",
"Funkce statického následovníka není u nestatické vlastnosti nebo definice události povolená.",
"%t má současně omezení hodnotové třídy i referenční třídy.",
@@ -2241,7 +2241,7 @@
"Nezabezpečený operátor reinterpret_cast popisovače",
"Argument šablony nemůže odkazovat na parametr obecného typu.",
"Seznam výrazů není u této operace dolního indexu povolený. (Operátor čárek nejvyšší úrovně uzavřete do závorek.)",
"Výraz musí být typu pointer-to-object nebo handle-to-%[C++/CLI]-array.",
"Výraz musí být typ ukazatele na objekt nebo popisovače pole %[C++/CLI], má ale typ %t.",
"Neznámý atribut",
"Člen třídy %[managed] nemůže být typu třídy, která není %[managed].",
"Člen třídy, která není %[managed], nemůže být typu referenční třídy nebo třídy rozhraní.",
@@ -2261,7 +2261,7 @@
"Typ iterátoru v tomto příkazu for each je %t, a to není typ ukazatele nebo typ třídy vystupující jako iterátor.",
"Typ iterátoru v tomto příkazu for each je %t, a to není typ ukazatele nebo typ třídy vystupující jako iterátor.",
"Typ iterátoru v tomto příkazu for each je %t, a to není typ ukazatele nebo typ třídy vystupující jako iterátor.",
"Atribut balení u nadřazeného typu se u tohoto pole %t, které není typu POD, ignoruje.",
"Atribut balení u nadřazeného typu se u tohoto pole typu třídy %t, které není standardního rozložení, ignoruje.",
"%nd se neimplementuje, protože tato deklarace není veřejná a nemá žádné pojmenované specifikátory přepsání.",
"U této deklarace chybí atribut gnu_inline zadaný u předchozí deklarace %p.",
"Členská funkce třídy %[managed] nemůže mít parametr výpustky.",
@@ -2337,7 +2337,7 @@
"Ukazatel na člena typu void není povolený.",
"Ukazatel na člena odkazového typu není povolený.",
"Ukazatel na člena typu popisovač není povolený.",
"Seznam uzavřený v závorkách tady není povolený.",
"Seznam uzavřený ve složených závorkách tady není povolený.",
"Člen operátoru >* není u spravované třídy povolený.",
"Metadata sestavení odkazují na neexistující sestavení.",
"Atribut %sq2 je v konfliktu s dřívějším atributem %sq1.",
@@ -2350,16 +2350,16 @@
"Definice std::initializer_list neobsahuje očekávaný konstruktor.",
"Deklarace skryje %nd.",
"Neplatný seznam parametrů šablony pro std::initializer_list (Měl by to být jeden parametr běžného typu bez výchozí hodnoty.)",
"Seznam uzavřený v závorkách se nemůže předat pro parametr výpustky.",
"Seznam uzavřený ve složených závorkách se nemůže předat pro parametr výpustky.",
"Před použitím std::initializer_list je potřeba zadat #include <seznam_inicializátorů>, včetně implicitního použití.",
"Klíčové slovo inline se u deklarace aliasu oboru názvů nedá použít.",
"Předchozí deklarace %n nebyla deklarovaná jako inline.",
"Změna deklarace modifikátoru inline %n musí být deklarova jako inline.",
"%n se dříve deklarovalo jako vložené.",
"Prvním argumentem musí být celočíselná konstanta.",
"Specifikátor se nedá použít s neagregačním typem %t.",
"Specifikátor člena anonymního sjednocení se dá zadat jenom uvnitř závorek, které odpovídají tomuto anonymnímu sjednocení.",
"Značky prototypu funkce se dají povolit jenom při kompilaci C.",
"Složené závorky se u tohoto dílčího objektu inicializátoru nedají vynechat.",
"Složené závorky se u tohoto podobjektu inicializátoru nedají vynechat.",
"Neplatný zužující převod z %t1 na %t2",
"Neplatný zužující převod z %t1 na %t2: konstantní hodnota se nevejde do cílového typu.",
"Přetypování na neúplný typ pole %t není povolené.",
@@ -2367,7 +2367,7 @@
"Inicializátor v závorkách pro entitu, která není třídou, musí být výraz, ne seznam uzavřený ve složených závorkách.",
"Seznam uzavřený ve složených závorkách neposkytuje pro tuto funkci lambda návratový typ.",
"Deklarovaná specifikace výjimky je nekompatibilní s generovanou specifikací.",
"Vymezené typy výčtu jsou funkcí C++11.",
"Typy vymezeného výčtu jsou funkcí C++11.",
"Typ funkce se nedá inicializovat pomocí hodnoty.",
"Inicializace seznamu typu objektu %t není povolená, protože má neúplný typ.",
"Seznam inicializátorů std::initializer_list obsahuje destruktor. Ten by ale obsahovat neměl: knihovna je chybně nakonfigurovaná.",
@@ -2379,7 +2379,7 @@
"Operátor defined je u rozšíření makra v režimu Microsoftu vždycky false.",
"%t nemůže být typem prvku seznamu inicializátorů, protože není úplným typem objektu.",
"Neshodné oddělovače ve výchozím výrazu argumentu",
"Nestandardní převod ukazatele na člena na ukazatel funkce",
"Nestandardní převod ukazatele na člen na ukazatel funkce",
"Specifikace dynamických výjimek jsou zastaralé.",
"Metoda %n nemůže být v aktuálním oboru částečně specializovaná.",
"%nd se dřív deklaroval s modifikátorem constexpr.",
@@ -2389,7 +2389,7 @@
"Funkce constexpr musí obsahovat právě jeden příkaz return.",
"Příkaz se ve funkci constexpr nedá použít.",
"Příkaz se v konstruktoru constexpr nedá použít.",
"Funkce nemůže být současně constexpr i virtuální.",
"Funkce nemůže být v tomto režimu zároveň constexpr i virtual.",
"Funkce constexpr nemůže mít neliterální návratový typ %t.",
"Funkce constexpr nemůže mít parametr neliterálního typu %t.",
"Nesekvencované použití %n ve výrazu může vytvořit nedefinované výsledky.",
@@ -2412,7 +2412,7 @@
"Deklarace seznamu parametrů typu void s kvalifikovaným typem void je nestandardní.",
"Kvalifikátor u této lokální deklarace se ignoruje.",
"Tento konstantní výraz je typu %t, místo aby byl požadovaného typu %s.",
"Instance __bases nebo __direct_bases vyžaduje typ třídy.",
"Vytvoření instance __bases nebo __direct_bases vyžaduje typ třídy.",
"Argumenty __bases a __direct_bases musí být typu parametru šablony.",
"%s se dá použít jenom v kontextu šablony.",
"Návratová hodnota funkce constexpr není konstanta.",
@@ -2435,7 +2435,7 @@
"Konstruktor constexpr musí inicializovat přímou základní třídu %t.",
"Je pravděpodobné, že vytvoření objektu std::initializer_list v inicializátoru pole nebude fungovat podle očekávání, protože podkladové pole se na konci úplného výrazu zničí.",
"V konstantním výrazu se this nedá použít.",
"Prázdný inicializátor není pro tento typ union platný. (Je nejednoznačné, který člen by se měl inicializovat.)",
null,
"U explicitní direktivy vytváření instancí není povolený modifikátor constexpr.",
"Kvůli cyklické závislosti se nedá určit specifikace výjimky výchozího konstruktoru.",
"%p definované anonymním sjednocením",
@@ -2450,7 +2450,7 @@
"Kvalifikátor odkazu tady není povolený.",
"Přetěžování dvou členských funkcí se stejnými typy parametrů vyžaduje použití kvalifikátorů odkazů u obou nebo ani u jedné z nich.",
"Neplatný znak v oddělovači nezpracovaných řetězců",
"Závorky ukončující oddělovač nezpracovaného řetězce se po 16 znacích nepodařilo najít indikátor nezpracovaného řetězce se ignoruje.",
"Závorky ukončující oddělovač nezpracovaného řetězce se v 16 znacích nepodařilo najít indikátor nezpracovaného řetězce se ignoruje.",
"Koncový oddělovač pro nezpracovaný řetězec se nepovedlo najít.",
"Sada parametrů musí být konečným argumentem šablony částečné specializace.",
"Funkce ukazatele na člen typu %t se dá použít jenom s objektem l-hodnoty.",
@@ -2474,7 +2474,7 @@
"neplatný kvalifikátor pro %t (odvozená třída tady není povolená)",
"Atribut always_inline se u funkcí, které nejsou vložené, ignoruje.",
"Dědící konstruktory musí být zděděné od přímé základní třídy.",
"%np už zdědil od %t.",
null,
"Očekávalo se návěstí.",
"Po %%l se očekávalo číslo operandu.",
"Číslo operandu pro %%l neodkazuje na platný argument návěstí.",
@@ -2515,7 +2515,7 @@
"Odstraněné funkce jsou funkcí C++11.",
"Funkce nastavené na výchozí hodnotu jsou funkcí C++11.",
"Třída úložiště není u explicitní specializace povolená.",
"%t není třída nebo vymezený výčet.",
null,
"Nevymezený výčet musí být neprůhledný, aby mohl být specializovaný.",
"Deklarace šablony výčtu musí odkazovat na dříve deklarovaný člen šablony třídy.",
"Očekává se vektorový operand.",
@@ -2651,7 +2651,7 @@
"předchozí deklarace %nd neměla žádný atribut abi_tag",
"(viz předchozí deklarace %p)",
"atribut abi_tag se ignoruje při specializaci",
"položka decltype(auto) se nemůže vyskytnout pod ukazatelem, odkazem nebo konstruktorem ukazatel-člen",
"položka decltype(auto) se nemůže vyskytnout pod ukazatelem, odkazem nebo konstruktorem ukazatele na člen",
"očekávala se hodnota class nebo typename",
"Umístění výrazu new odkazuje na neumístěné %nd.",
"Při vytváření knihovny modulu runtime musíte zadat režim C++14.",
@@ -2669,10 +2669,10 @@
"konstruktor nebo destruktor nemůže být korutina",
"%n nemůže být korutina",
"výrazy co_yield nejsou povolené v klauzuli catch",
"výrazy co_yield nejsou povolené ve funkcích constexpr",
"v tomto výrazu co_await neodpovídá žádná instance %no seznamu argumentů",
"tento výraz co_await vyžaduje vhodnou funkci %sq, ale žádná se nenašla",
"výraz co_await tady není povolený, protože typ příslibu %t nemá členskou funkci return_value nebo return_void",
null,
null,
null,
null,
"šablona třídy %sq se nenašla",
"použijte klíčové slovo typename, které má s %n zacházet jako s typem v závislém kontextu",
"hodnota argumentu musí být nižší než součet vektorových elementů",
@@ -2680,9 +2680,9 @@
"seznam uzavřený ve složených závorkách neposkytuje návratový typ",
"výraz co_await musí být v oboru funkce",
"výraz co_await není povolený uvnitř klauzule catch",
"pomocná rutina nemůže mít parametr tři tečky",
"korutina nemůže mít parametr tři tečky",
"Povolení funkce constexpr stylu C++14 vyžaduje podporu logických hodnot.",
"funkce constexpr %nd není definovaná",
"Výraz constexpr %nd není definovaný.",
"toto volání nejde vyhodnotit, protože cílová funkce %nd není constexpr nebo ještě není úplně definovaná",
"poznámka",
"Poznámka",
@@ -2701,7 +2701,7 @@
"Pokus o přístup k úložišti o jednu pozici za koncem pole s %d prvky",
"Pokus o přístup k úložišti, kterému vypršela platnost",
"Pokus o přístup k úložišti modulu run-time",
"Nejde spustit blok try.",
null,
"Nejde zavolat %nd, které není constexpr.",
"Při vyhodnocování constexpr nejde použít pole proměnné délky.",
"Záporný posun nejde udělat.",
@@ -2737,9 +2737,9 @@
"nejde nastavit ukazatel pře elementem prvního pole",
"korutina s odvozeným návratovým typem je neplatná",
"výraz není v nevyhodnoceném kontextu povolený",
"yield_value vytváří typ void",
"yield_value vytváří hodnotu (typu %t), která není povolená v korutině s odvozeným návratovým typem.",
"hodnota return není povolená v korutině (použijte místo ní co_return)",
null,
null,
"Příkaz return není v korutině povolený (použijte místo něj co_return).",
"hodnota co_return je povolená jenom v korutinách",
"hodnoty s plovoucí desetinnou čárkou nejde porovnávat",
"hodnoty ukazatele nejde porovnávat, protože neodkazují na stejný úplný objekt",
@@ -2748,7 +2748,7 @@
"komplexní nebo imaginární typ parametru šablony je nestandardní",
"výraz co_yield není přípustný mimo rozsah funkce",
"ignorování indikace místního vlákna v anonymním sjednocení",
"nejde odvodit návratový typ z korutiny bez konstruktoru co_yield nebo co_await",
null,
"Šablona proměnných",
"Přístup k neinicializovanému objektu",
"Pokus o čtení z nestálého úložiště",
@@ -2757,9 +2757,9 @@
"Nelze porovnat ukazatel za koncem pole s ukazatelem na jiný úplný objekt.",
"Typ funkce %t není platným typem pro vytvoření instance šablony proměnných.",
"Proměnná nemůže mít nekompletní typ %t.",
"Přístup k neinicializovanému dílčímu objektu (%n)",
"Přístup k neinicializovanému dílčímu objektu (základní třída %t)",
"Volání prázdného desktruktoru",
"Přístup k neinicializovanému podobjektu (%n)",
"Přístup k neinicializovanému podobjektu (základní třída %t)",
"Volání pseudodestruktoru v konstantním výrazu se nepovoluje.",
"Pokus o změnu úložiště",
null,
null,
@@ -2790,7 +2790,7 @@
"typ elementu vektoru musí být integrál, výčet nebo reálné číslo s plovoucí desetinnou čárkou",
"předdefinovaná funkce není dostupná, protože 128bitová celá čísla nejsou podporovaná",
"předdefinovaná funkce není dostupná, protože vektorové typy nejsou podporované",
"d po sobě jdoucí levé hranaté závorky můžou uvozovat jenom seznam atributů",
"Dma levými hranatými závorkami za sebou vždy začíná seznam atributů, ale tady se seznam atributů nemůže nacházet.",
"nerozpoznaný atribut target znemožňuje, aby tuto rutinu použila rutina překladače",
"%t není vektorový typ",
"vektorové typy %t1 a %t2 musí mít stejnou délku",
@@ -2806,11 +2806,11 @@
"inicializátor výchozího členu není v hodnotové třídě povolený",
"--implicit_noexcept vyžaduje režim, který aktivuje operátor noexcept.",
"Nejde složit operaci, která zahrnuje virtuální základní třídu (%t).",
null,
"Inicializace není konstantní.",
"Nejde vyhodnotit hodnotu nekompletní položky %t.",
"Systém ignoroval návratovou hodnotu z rutiny deklarované pomocí atributu nodiscard.",
"Systém ignoroval typ návratové hodnoty s atributem nodiscard.",
"Atribut nodiscard neplatí pro konstruktory, destruktory nebo rutiny s návratovým typem void.",
"Atribut nodiscard neplatí pro destruktory nebo rutiny s návratovým typem void.",
"Atribut fallthrough platí jenom pro příkazy null.",
"Atribut fallthrough se může vyskytovat jenom uvnitř příkazu switch.",
"Příkaz fallthrough musí předcházet návěstí větve příkazu switch nebo výchozí hodnotě.",
@@ -2821,11 +2821,11 @@
"__has_include se nemůže vyskytovat mimo #if.",
"Nešlo přidat základní třídu CComCoClass.",
"nejde o řetězec zakončený hodnotou null.",
"neskalární typ %t nelze použít ve volání prázdného destruktoru.",
"Neskalární typ %t se nedá použít ve volání pseudodestruktoru.",
"Adresa weak %n není konstantní.",
"Příliš mnoho rekurzivních náhrad signatur šablony funkce",
"Neplatný specifikátor pro strukturovanou deklaraci vazby",
"Neplatná strukturovaná syntaxe vazby",
"Neplatný specifikátor pro deklaraci strukturované vazby",
"Neplatná syntaxe strukturované vazby",
"Chybí inicializátor.",
"Typ %t nemá žádné komponenty, s nimiž by se mohl svázat.",
"Příliš mnoho identifikátorů",
@@ -2881,7 +2881,7 @@
"Nejde vyhodnotit __builtin_offsetof.",
"Vodítko pro dedukci %t se nedá nadefinovat.",
"Vodítko pro dedukci se musí deklarovat ve stejném oboru jako %n.",
"Soubor modulu %sq se nepovedlo naimportovat.",
"Neplatný specifikátor pro deklaraci vodítka pro dedukci (je povoleno pouze explicit).",
"S měnitelnou hodnotou %n konstanty nejde pracovat v konstantním výrazu.",
"Modifikátor funkce nejde použít u deklarace statického člena.",
"Atribut overloadable vyžaduje deklaraci funkce prototypem.",
@@ -2924,7 +2924,7 @@
"Probíhá volání makra. Soubor PCH IntelliSense se nevygeneroval.",
"Zarážka záhlaví není v rozsahu souboru. Soubor PCH IntelliSense se nevygeneroval.",
"Zarážka záhlaví nemůže být v bloku makra nebo bloku #if. Soubor PCH IntelliSense se nevygeneroval.",
"Zarážka záhlaví nemůže být v bloku vazby. Soubor PCH IntelliSense se nevygeneroval.",
"Zarážka záhlaví nemůže být v bloku propojení. Soubor PCH IntelliSense se nevygeneroval.",
"Nejde najít vhodné umístění zarážky záhlaví. Soubor PCH IntelliSense se nevygeneroval.",
"V souboru PCH nejdou použít direktivy line. Soubor PCH IntelliSense se nevygeneroval.",
"Neplatný specifikátor omezení",
@@ -3116,13 +3116,13 @@
null,
null,
null,
null,
null,
"očekávalo se >>>",
"Nepovedlo se najít deklaraci __cudaPushCallConfiguration. Instalace sady nástrojů CUDA může být poškozená.",
"Inicializátor ve stylu C++17 je v tomto režimu nestandardní.",
"zachytávání *this je v tomto režimu nestandardní",
"Předpona atributu using ve stylu C++17 je v tomto režimu nestandardní.",
"Vnořené obory názvů ve stylu C++17 jsou v tomto režimu nestandardní.",
"V deklaraci nemůžou být současně constexpr i consteval.",
"V deklaraci se může vyskytovat jen jedna z těchto možností: constexpr, consteval a constinit",
"funkce nemůže být v tomto režimu zároveň consteval a virtuální",
"U explicitní direktivy vytváření instancí není povolený modifikátor consteval.",
"Modifikátor consteval tady není platný.",
@@ -3137,7 +3137,7 @@
"člen consteval nemůže přepsat člena %n bez consteval",
"člen bez consteval nemůže přepsat člena consteval %n",
"strukturovaná vazba",
"Přetypování dynamic_cast na dílčí objekt typu %t1 je neplatné (nejodvozenější typ je %t2).",
"Přetypování dynamic_cast na podobjekt typu %t1 je neplatné (nejodvozenější typ je %t2).",
"Identifikátor __VA_OPT__ se může vyskytovat jenom v seznamech nahrazení variadických maker.",
"__VA_OPT__ se nesmí nacházet v operandu __VA_OPT__",
"chybí pravá závorka pro __VA_OPT__",
@@ -3146,7 +3146,7 @@
"## nesmí být v operandu __VA_OPT__ poslední",
"Vnořené vložené obory názvů ve stylu C++20 jsou v tomto režimu nestandardní.",
"ukazatel na základní třídu %t2 se nedá převést na ukazatel na odvozenou třídu %t1 pokus o ukazování za nejodvozenější objekt",
"dočasný objekt není konstantní",
null,
"Položku main není možné použít jako název globální proměnné nebo dané propojení jazyka C.",
"Funkci main není možné deklarovat ve specifikaci propojení.",
"V podmínce se nepovoluje strukturovaná vazba.",
@@ -3166,17 +3166,17 @@
"Atribut internal_linkage se nevyskytuje v předchozí deklaraci.",
"Pro %n se nenašel žádný vhodný kandidát pro dedukci argumentu šablony.",
"Volání plně kvalifikovaného konstruktoru se nepovoluje.",
"Operátor porovnání se dá nastavit na výchozí hodnotu jen v definici třídy.",
"Operátor porovnání nastavený jako výchozí musí být členem třídy, na kterou se vztahuje, nebo pro ni musí být nastavený jako friend.",
"Chybný typ %t pro parametr výchozího operátoru porovnání (musí to být odkaz na const X, kde X je uzavírající typ třídy)",
"Návratový typ výchozího operátoru porovnání musí být bool.",
"Výchozí operátor porovnání členů musí být const.",
"V této třídě je více než jeden definovaný výchozí třícestný operátor.",
null,
"Typ příslibu korutiny %t nemůže mít nastavené return_void a return_value zároveň.",
"return_value deklarovalo %p.",
"return_value deklarované v %p",
"return_void deklarovalo %p.",
"Chybí příkaz co_return, přestože %t nemá na konci %n žádné return_void.",
"Pro přidělení stavu korutiny se nenašla žádná varianta nothrow globálního operator new.",
"Pro uvolnění stavu korutiny se nenašel žádný vhodný operator delete.",
"Pro zrušení přidělení stavu korutiny se nenašel žádný vhodný operator delete.",
"Funkce constexpr nemůže být korutina.",
"Operand tohoto výrazu %s se překládá na typ %t, který není třída.",
"Výraz co_await se ve statickém inicializátoru nepovoluje.",
@@ -3188,7 +3188,190 @@
"Výchozí operátory porovnání se pro netriviální pole vlastností Microsoft nepodporují.",
"Standardní typ porovnání (%t) musí být typ třídy s jedním nestatickým datovým členem celočíselného typu.",
"V %t se nenašel žádný statický datový člen constexpr %sq.",
"Počet elementů (%d) je moc velký pro dynamické přidělení.",
"Žádost o dynamické přidělení constexpr je moc velká.",
"Zrušení přidělení úložiště, které nebylo dynamicky přiděleno",
"Velikost zrušení přidělení (%d1) neodpovídá přidělené velikosti (%d2).",
"Zde došlo k přidělení.",
"Typ zrušení přidělení (%t1) neodpovídá typu přidělení (%t2).",
"Některá dynamická přidělení (celkový počet = %d) nebyla zrušena.",
"Vnitřní %n je deklarovaný s neočekávaným podpisem (typ %t).",
">> výstup z std::__report_constexpr_value",
">> koncový výstup z std::__report_constexpr_value",
"Ve vyhodnocení constexpr nejde použít pole se závislou velikostí pole.",
"Systém ignoroval návratovou hodnotu z rutiny deklarované pomocí atributu nodiscard (%sq).",
"Systém ignoroval typ návratové hodnoty s atributem nodiscard (%sq).",
"Konstruktor použitý k vytvoření zahozeného objektu má atribut nodiscard.",
"Konstruktor použitý k vytvoření zahozeného objektu má atribut nodiscard (%sq).",
"Typ zahozeného objektu má atribut nodiscard.",
"Typ zahozeného objektu má atribut nodiscard (%sq).",
"Reference pseudodestruktoru se dá použít jenom pro volání pseudodestruktoru.",
"Explicitní volání destruktoru není povolené v konstantním výrazu.",
"Operátor čárky nezadané v závorkách ve výrazu dolního indexu pole je zastaralý.",
"Počet dynamicky přidělených elementů (%d) pro inicializátor je moc malý.",
"Nestálý operand pro výraz %s je zastaralý.",
"Použití výsledku přiřazení do nestálého skalárního objektu je zastaralé.",
"Nestálý cílový typ pro složený výraz přiřazení je zastaralý.",
"Nestálý parametr funkce je zastaralý.",
"Nestálý návratový typ je zastaralý.",
"Použití nestálého kvalifikátoru u strukturované vazby je zastaralé.",
"Argument ext_vector_type musí být v rozmezí od 1 do 2047.",
"Atribut ext_vector_type se může vyskytovat jenom v definici typedef.",
"Atribut ext_vector_type se vztahuje pouze na celočíselné typy (integer) nebo s plovoucí desetinnou čárkou (floating-point).",
"Toto makro testu funkcí je ignorováno (a vrátí hodnotu 0) v aktuálním režimu kompilace.",
"Nejde vyhodnotit agregační inicializátor s více elementy pro sjednocení.",
"%nd vybraný pro přepis operátoru nevrací typ bool.",
"new-expression volající funkci přidělení specifickou pro třídu se nedá vyhodnotit jako konstanta",
"výraz s umístěním new se nedá vyhodnotit podle konstanty",
"odstranění přes ukazatel na podobjekt vyžaduje virtuální destruktor",
"%npTd s obrácenými argumenty",
"operand __INTADDR__ musí být odsazený od nulového ukazatele",
"_Obecný konstruktor odpovídá více typům",
"druhá shoda je %t",
"Atribut availability, který se tady používá, se ignoruje.",
"Výraz inicializátoru podle C++20 v příkazu for založeném na rozsahu není v tomto režimu standardní.",
"co_await se může vztahovat jen na příkaz for založený na rozsahu.",
"Typ rozsahu ve smyčce for založené na rozsahu se nedá vyvodit.",
"Vložené proměnné jsou funkce standardu C++17.",
"Destrukční operátor delete vyžaduje jako první parametr %t.",
"Destrukční operátor delete nemůže mít parametry jiné než std::size_t a std::align_val_t.",
"možnosti volné (relaxed) abstraktní třídy se dají použít jenom při kompilaci C++",
"Neplatný začátek výrazu v klauzuli requires",
"Výraz cast v klauzuli requires musí být v uvozovkách.",
"Tento operátor se nemůže v klauzuli requires vyskytovat na nejvyšší úrovni (bez závorek).",
"Atomické omezení musí mít logický typ.",
"Nepodařilo se nahradit atomické omezení.",
"Atomické omezení není konstanta.",
"Hodnota atomického omezení se vyhodnotí jako false.",
"Omezení šablony není splněné.",
"V tomto oboru se definice konceptu nemůže vyskytovat.",
"Neplatná změna deklarace %nd",
"Nepovedlo se nahradit argumenty %T pro concept-id.",
"Pro argumenty %T je koncept false.",
"Klauzule requires tady není povolena (nejedná se o funkci se šablonami).",
"Šablona konceptu",
"Klauzule requires není kompatibilní s %nfd.",
"Očekával se atribut.",
null,
"Očekával se název typu.",
"Parametr výpustky není ve výrazu requires povolený.",
"Nepojmenovaný parametr ve výrazu requires nemá žádný efekt.",
"Očekával se název konceptu.",
"Výsledkem volání %s v konstantním výrazu je vždy hodnota true.",
"Výsledkem volání %s v kontextu consteval je vždy hodnota true.",
"Výsledkem volání %s ve funkci, která není constexpr, je vždy hodnota false.",
"Omezení typu pro %t se nezdařilo.",
"Možnost export se nedá použít v režimech, kde jsou povolené moduly C++.",
"Deklaraci fragmentu globálního modulu musí předcházet nějaká jiná deklarace.",
"Deklaraci modulu může předcházet pouze fragment globálního modulu.",
"Fragmentu privátního modulu musí předcházet deklarace modulu.",
"Fragment modulu %s nelze exportovat.",
"Nelze deklarovat více než jeden modul.",
"Nelze deklarovat více než jeden fragment modulu %s.",
"Modul musí být deklarovaný s názvem, který není prázdný.",
"%sq není importovatelné záhlaví.",
"Nelze importovat modul bez názvu.",
"Modul nemůže mít závislost rozhraní sám na sebe.",
"Modul %sq je už importovaný.",
"Soubor modulu",
"Nepovedlo se najít soubor modulu %sq pro import.",
"Soubor modulu %sq se nepovedlo naimportovat."
"Nepodařilo se najít soubor modulu pro modul %sq.",
"Soubor modulu %sq se nepovedlo naimportovat.",
"Očekávalo se %s1, ale našlo se %s2.",
"Při otevírání souboru modulu %sq",
"Neznámý název oddílu %sq",
"neznámý soubor modulu",
"soubor modulu s importovatelnou hlavičkou",
"soubor modulu EDG",
"soubor modulu IFC",
"neočekávaný soubor modulu",
"Typ druhého operandu %t2 musí mít stejnou velikost jako %t1.",
"Typ musí být možné triviálně kopírovat.",
"Typ %t se pro vyhodnocování constexpr v __builtin_bit_cast v současné době nepodporuje.",
"Typy tříd s bitovými poli %t se pro vyhodnocování constexpr v __builtin_bit_cast v současné době nepodporuje.",
"Nestatický datový člen typu odkazu %t brání vyhodnocování constexpr v __builtin_bit_cast.",
"Nestálý typ %t brání vyhodnocování constexpr v __builtin_bit_cast.",
"Typ sjednocení, ukazatele nebo ukazatele na člen %t brání vyhodnocování constexpr v __builtin_bit_cast.",
"%npTd, zděděno pomocí decl %p",
"Podobjekt %t pro dědící konstruktory se nedá vytvořit -- implicitní výchozí konstruktor se odstranil.",
"%n musí vracet void.",
"Neplatný začátek deklarace členu",
"Očekává se klíčové slovo auto.",
"Tento operátor se na tomto místě nepodporuje. Uzavřete předchozí výraz new do závorek.",
"Neplatné použití konceptu",
"Výchozí operátor porovnání členů nemůže být kvalifikovaný jako &&.",
"Výchozí funkce pro porovnání constexpr volá funkci %nd, která constexpr není.",
"Porovnání paměti constexpr se podporuje jen pro celé číslo nebo objekty polí celých čísel.",
"Šablona konceptu nemůže mít přidružená omezení.",
"export se nepovoluje.",
"Export jednotlivých členů třídy se nepodporuje.",
"Exportovaná deklarace musí zavést název.",
"Deklarace exportu nemůže obsahovat deklaraci exportu (předchozí deklarace %p).",
"Deklarace exportu nemůže obsahovat deklaraci importu modulu.",
"Deklarace exportu se může vyskytnout jen v jednotce rozhraní modulu.",
"Deklarace exportu nemůže exportovat název s interním propojením.",
"Deklarace using zahrnuje %nfd.",
"Předdefinovaná funkce není dostupná, protože typy s plovoucí desetinnou čárkou __fp16 se nepodporují.",
"Výraz requires musí určovat alespoň jeden požadavek.",
"Modifikátor constinit tady není platný.",
"Modifikátor constinit je platný jen pro deklarace proměnných s dobou trvání úložiště static nebo thread.",
"Proměnná constinit vyžaduje dynamickou inicializaci.",
"Proměnná se už dříve deklarovala s constinit %p.",
"Použití deklarátoru funkce, která není prototyp",
"Argument nemůže mít typ kvalifikovaný jako const.",
"Ukazatel na člen neúplného typu %t se nepovoluje.",
"Rozšíření balíčku v init-capture se v tomto režimu nepodporuje.",
"Rozšíření balíčku v init-capture je funkce jazyka C++20.",
"Operátor porovnání v definici třídy nastavený jako výchozí musí být první deklarace daného operátoru porovnání (%nd).",
"Rozšíření balíčku v init-capture se dá použít jen ve variadické šabloně.",
"Omezení typu používá %nd, které není konceptem typu (tj. šablona konceptu, jejíž první parametr je parametr typu).",
"Odvozený typ zástupného symbolu %t nesplnil omezení typu.",
"Výchozí konstruktor pro %t není oprávněný.",
"Destruktor pro %t je nejednoznačný kvůli neuspořádaným omezením.",
"Destruktor pro %t není oprávněný kvůli neúspěšným omezením.",
"Kandidát nejednoznačného destruktoru",
"Virtuální funkce nemůže mít na konci klauzuli requires.",
"%nd nesplňuje svá omezení.",
"Výsledek kvalifikátoru decltype %t není třída ani výčet.",
"Porovnání je ve standardním C++20 nejednoznačné, protože implikovaný operátor porovnání se zaměněnými parametry je stejně dobrá shoda -- příčinou je obvykle chybějící kvalifikátor const u operátoru porovnání. Podívejte se na %nod.",
"Neplatné concept-id",
"Nepovedlo se nahradit argumenty %T pro klauzuli requires.",
"Omezení pro %nd se nesplnila.",
"typ proměnné %t ve funkci constexpr má virtuální základní třídy",
"konstantní výraz nemůže přidělit virtuální základní podobjekt (pro typ %t)",
"parametr šablony typu třídy musí být typu strukturální třídy",
"podpora pro literály UTF-8 vyžaduje podporu literálů u-literal.",
"mapování souborů modulu pro %s bylo zadané více než jednou",
"mapování jednotek záhlaví pro %s bylo zadané více než jednou",
"není zadané žádné mapování pro %s",
"mapování souborů modulu pro %s je neplatné",
"nejde najít záhlaví %s, které se má importovat",
"více než jeden soubor v seznamu souborů modulu odpovídá %s",
"soubor modulu, který se našel pro %s, je pro jiný modul",
"libovolný druh souboru modulu",
"nejde přečíst soubor modulu",
"předdefinovaná funkce není k dispozici, protože typ char8_t se nepodporuje s aktuálními možnostmi",
"možnost příkazového řádku --ms_await nejde zadat, pokud jsou povolené korutiny C++20",
"nestandardní použití explicitního konstruktoru %nod pro inicializaci výchozího agregačního elementu",
"zdroj nebo cíl vnitřní funkce memcpy-like neukazuje na objekt",
"vnitřní funkce memcpy-like se pokouší o kopírování reprezentačně odlišných typů %t1 a %t2",
"vnitřní funkce memcpy-like se pokouší o kopírování netriviálně kopírovatelného typu %t",
"vnitřní funkce memcpy-like se pokouší o kopírování částečného objektu",
"vnitřní funkce memcpy-like se pokouší o kopírování hranice za polem",
"vnitřní funkce memcpy-like se pokouší o kopírování překrývajících se bajtových rozsahů (místo toho se použije odpovídající operace memmove)",
"Deklarace typu friend s klauzulí requires na konci musí být definice.",
"Výraz musí mít aritmetický typ nebo typ ukazatele, má ale typ %t.",
"Výraz musí mít aritmetický typ, typ výčtu nebo typ ukazatele, má ale typ %t.",
"Výraz musí mít aritmetický typu, typ nevymezeného výčtu nebo typ ukazatele, má ale typ %t.",
"Výraz musí mít typ ukazatele, má ale typ %t.",
"Operátor -> nebo ->* se používá pro %t namísto typu ukazatele.",
"Nekompletní typ třídy %t není povolený.",
"Nepovedlo se interpretovat rozložení bitů pro tento cíl kompilace.",
"Žádný odpovídající operátor pro operátor IFC %sq",
"Žádná odpovídající konvence volání pro konvenci volání IFC %sq",
"Modul %sq obsahuje nepodporované konstrukce.",
"Nepodporovaná konstrukce IFC: %sq",
"__is_signed už není klíčové slovo.",
"Rozměr pole musí mít konstantní celočíselnou hodnotu bez znaménka.",
"Soubor IFC %sq má nepodporovanou verzi %d1.%d2.",
"Moduly se v tomto režimu nepovolily."
]
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+265 -82
View File
@@ -74,7 +74,7 @@
null,
null,
null,
"l'opérande de '*' doit être un pointeur",
"l'opérande de '*' doit être un pointeur mais il a le type %t",
"l'argument de la macro est vide",
"cette déclaration n'a pas de classe de stockage ou de spécificateur de type",
"une déclaration de paramètre ne peut pas avoir d'initialiseur",
@@ -130,8 +130,8 @@
"boucle inaccessible",
"une fonction avec portée de bloc ne peut avoir qu'une classe de stockage externe",
"'{' attendu",
"l'expression doit avoir un type pointeur vers classe",
"l'expression doit avoir un type pointeur vers struct ou union",
"l'expression doit avoir un type pointeur vers classe mais elle a le type %t",
"l'expression doit avoir un type pointeur vers struct ou union mais elle a le type %t",
"nom de membre attendu",
"nom de champ attendu",
"%n n'a pas de membre %sq",
@@ -141,7 +141,7 @@
"prise d'adresse d'un champ de bits non autorisée",
"trop d'arguments dans l'appel de fonction",
"paramètres prototypés sans nom non autorisés lorsque le corps est présent",
"l'expression doit avoir un type pointeur vers objet",
"l'expression doit avoir un type pointeur vers objet mais elle a le type %t",
"programme trop volumineux ou complexe pour être compilé",
"impossible d'utiliser une valeur de type %t1 pour initialiser une entité de type %t2",
"impossible d'initialiser %n",
@@ -152,8 +152,8 @@
"impossible de redéclarer un nom de type en tant que paramètre",
"impossible de redéclarer un nom de typedef en tant que paramètre",
"conversion d'entier non nul en pointeur",
"l'expression doit avoir un type classe",
"l'expression doit avoir un type struct ou union",
"l'expression doit avoir un type classe mais elle a le type %t",
"l'expression doit avoir un type struct ou union mais elle a le type %t",
"ancien opérateur d'assignation",
"ancien initialiseur",
"l'expression doit avoir une expression constante intégrale",
@@ -171,7 +171,7 @@
"déclaration attendue",
"le pointeur pointe en dehors de l'objet sous-jacent",
"conversion de type non valide",
"conflit entre la liaison externe/interne et la déclaration précédente",
"conflit entre la liaison externe/interne et la déclaration précédente %p",
"la valeur à virgule flottante ne peut pas être contenue dans le type intégral requis",
"Expression sans effet",
"Indice hors limites",
@@ -392,7 +392,7 @@
"impossible d'appeler la fonction 'main' ou de prendre son adresse",
"impossible de spécifier un new-initializer pour un tableau",
"impossible de redéclarer la fonction membre %no en dehors de sa classe",
"pointeur vers un type classe incomplète non autorisé",
"le pointeur vers le type classe incomplet %t n'est pas autorisé",
"référence à une variable locale de fonction englobante non autorisée",
"fonction à argument unique utilisée pour %sq suffixé (anachronisme)",
null,
@@ -420,9 +420,9 @@
"plusieurs fonctions de conversion de %t en type intégré s'appliquent :",
"const %n",
"référence %n",
"%npT",
"%npTd",
"opérateur intégré %sq",
"%no (ambigu par héritage)",
"%nod, ambigu par héritage",
"impossible de prendre l'adresse d'un constructeur ou d'un destructeur",
null,
"utilisation temporaire pour la valeur initiale d'une référence à une non-constante (anachronisme)",
@@ -520,7 +520,7 @@
"directive de prétraitement non standard",
"%n ne peut pas avoir de liste d'arguments template",
"initialisation avec '{...}' attendue pour un objet d'agrégation",
"types de classe de sélection de pointeur vers un membre incompatibles (%t1 et %t2)",
"types de classe de sélection du pointeur vers membre incompatibles (%t1 et %t2)",
"déclaration Friend inutile",
"'.' utilisé à la place de '::' pour former un nom qualifié",
"appel de fonction non const pour un objet const (anachronisme)",
@@ -677,8 +677,8 @@
"l'option de compatibilité C SVR4 peut uniquement être utilisée lors de la compilation de C ANSI",
"utilisation d'une déclaration hors de portée de %nd",
"le mode strict est incompatible avec le mode C SVR4",
"l'appel de %nd ne peut pas être inline",
"%n ne peut pas être inline",
"l'appel de %nd ne peut pas être inlined",
"%n ne peut pas être inlined",
"répertoire PCH non valide : %s",
"__except ou __finally attendu",
"une instruction a __leave peut uniquement être utilisée dans a __try",
@@ -883,7 +883,7 @@
"Embedded C++ ne prend pas en charge 'mutable'",
"Embedded C++ ne prend pas en charge l'héritage multiple ou virtuel",
"numéro de version Microsoft non valide : %s",
"représentation de pointeur vers un membre %sq déjà définie pour %n",
"représentation du pointeur vers membre %sq déjà définie pour %n",
"impossible d'utiliser %t1 pour désigner le constructeur de %t2",
"suffixe de constante intégrale non valide",
"l'opérande of __uuidof doit avoir un type classe ou enum pour lequel __declspec(uuid('...')) a été spécifié",
@@ -938,7 +938,7 @@
"la redéclaration de %n modifie son accès",
"un nom qualifié par une classe ou un espace de noms est requis",
"type de retour 'int' omis dans la déclaration de la fonction 'main'",
"la représentation de pointeur vers le membre %sq est trop restrictive pour %n",
"la représentation du pointeur vers membre %sq est trop restrictive pour %n",
"instruction return manquante à la fin d'un %n non void",
"déclaration using dupliquée de %no ignorée",
"les champs de bits enum sont toujours non signés, mais l'enum %t inclut un énumérateur négatif",
@@ -1229,7 +1229,7 @@
"transfert de contrôle non autorisé dans une expression d'instruction",
null,
"cette instruction n'est pas autorisée dans une expression d'instruction",
"définition de classe non POD non autorisée dans une expression d'instruction",
"une classe qui n'est pas copiable de manière triviale ne peut pas être définie dans une expression d'instruction",
null,
"variable statique locale initialisée dynamiquement non autorisée dans une expression d'instruction",
"tableau de longueur variable non autorisé dans une expression d'instruction",
@@ -1245,7 +1245,7 @@
"impossible de déclarer les types interface dans des fonctions",
null,
"les types interface ne peuvent pas avoir de membres de données",
"les types interface ne peuvent pas contenir de déclarations Friend",
"les types interface ne peuvent pas contenir de déclarations friend",
null,
"les types interface ne peuvent pas avoir de types classe imbriqués",
"les types interface ne peuvent pas avoir de modèles de membres",
@@ -1289,8 +1289,8 @@
"qualificateur const ignoré",
null,
"qualificateurs asm GNU non valides",
"type de classe non POD passé par le paramètre ellipse",
"un type de classe non POD ne peut pas être extrait par va_arg",
"un type de classe qui ne peut pas être copié de manière évidente a été passé via des points de suspension",
"un type de classe qui ne peut pas être copié de manière évidente ne peut pas être récupéré (fetch) par va_arg",
"le suffixe 'u' ou 'U' doit apparaître avant le suffixe 'l' ou 'L' dans un littéral à virgule fixe",
"l'option 'fixed_point' peut uniquement être utilisée lors de la compilation de C++",
"un opérande entier peut entraîner un dépassement de capacité à virgule fixe",
@@ -1361,7 +1361,7 @@
"plusieurs variables apparaissant après un initialiseur entre parenthèses sont ignorées",
"impossible d'utiliser le résultat de ce cast comme une lvalue",
"négation d'une valeur à virgule fixe non signée",
"cet opérateur n'est pas autorisé actuellement ; utilisez des parenthèses",
null,
null,
"les noms de registre peuvent uniquement être utilisés pour les variables de registre",
"les variables de registre nommées ne peuvent pas avoir le type void",
@@ -1426,9 +1426,9 @@
"le second opérande de offsetof doit être un champ",
"le second opérande de offsetof ne peut pas être un champ de bits",
"impossible d'appliquer offsetof à un membre de base virtuelle",
"offsetof non standard appliqué aux types non POD",
"offsetof appliqué à un autre type que celui d'une classe standard",
"arguments par défaut non autorisés sur une déclaration Friend de fonction membre",
"arguments par défaut non autorisés sur des déclarations Friend qui ne sont pas des définitions",
"arguments par défaut non autorisés sur des déclarations friend qui ne sont pas des définitions",
"la redéclaration de %nd précédemment déclaré en tant que Friend avec des arguments par défaut n'est pas autorisée",
"qualificateur non valide pour %t (classe dérivée non autorisée ici)",
"qualificateur non valide pour la définition de la classe %t",
@@ -1535,7 +1535,7 @@
"valeur cannot-redefine non valide",
"modificateur de fonction dupliqué",
"caractère non valide pour le littéral char16_t",
"Impossible d'appliquer __LPREFIX aux littéraux char8_t, char16_t ou char32_t",
null,
"convention d'appel inconnue %s, doit être l'une des suivantes :",
null,
null,
@@ -1559,10 +1559,10 @@
"l'alias crée un cycle d'entités avec alias",
null,
"impossible de déclarer une variable ayant une durée de stockage statique allouée dans un registre spécifique avec un initialiseur",
"une variable allouée dans un registre spécifique doit avoir un type POD",
"une variable allouée dans un registre spécifique doit pouvoir être copiée de manière triviale",
"signification prédéfinie de %no ignorée",
null,
"le désignateur ne peut pas spécifier un sous-objet non POD",
"type de classe non utilisable par les désignateurs",
null,
"qualificateur d'union anonyme non standard",
"qualificateur d'union anonyme ignoré",
@@ -1670,7 +1670,7 @@
"qualificateur de type non autorisé sur un constructeur ou un destructeur",
"qualificateur de type non autorisé sur un opérateur new ou un opérateur delete",
"qualificateur de type non autorisé sur une fonction non membre",
"expression __assume avec effets secondaires ignorée",
"l'argument de %s a des effets secondaires mais il n'est pas évalué",
"genre de source Unicode non reconnu (doit être UTF-8, UTF-16, UTF-16LE ou UTF-16BE) : %s",
"le caractère Unicode avec valeur hexadécimale %s n'est pas représentable dans la sortie de prétraitement",
"la priorité demandée pour le constructeur/destructeur est réservée pour usage interne",
@@ -1739,7 +1739,7 @@
"impossible de capturer une variable locale en dehors de la portée de la fonction active",
"impossible de faire référence à la fonction englobante 'this' dans le corps d'une expression lambda, sauf si elle figure dans la liste de capture",
null,
"impossible de copier la variable de capture lambda de type %t1 dans le champ closure class de type %t2",
"impossible de copier la variable capturée lambda de type %t1 dans le champ closure class de type %t2",
"répertoire de modèles non valide : %s",
"erreur",
"erreurs",
@@ -1884,7 +1884,7 @@
"les attributs ne sont pas autorisés dans les instanciations explicites",
"l'attribut %sq ne s'applique pas à une définition",
"l'attribut %sq requiert une définition",
"les attributs standard ne peuvent pas apparaître sur des déclarations Friend qui ne sont pas des définitions",
"les attributs standard ne peuvent pas apparaître sur des déclarations friend qui ne sont pas des définitions",
"l'alignement spécifié (%s1) est différent de l'alignement (%s2) spécifié sur une déclaration précédente",
"l'attribut d'alignement doit également apparaître sur la définition %p",
"%n ne peut pas être utilisé dans l'ID type de la déclaration d'alias",
@@ -2207,7 +2207,7 @@
"un champ initonly peut uniquement être modifié par le constructeur d'instance de sa classe conteneur",
"un champ initonly statique peut uniquement être modifié par le constructeur statique de sa classe conteneur",
"la fonction membre sera appelée sur une copie du champ initonly",
"l'expression doit avoir le type pointeur ou handle",
"l'expression doit avoir un type pointeur ou descripteur mais elle a le type %t",
"un constructeur de déplacement ou un opérateur d'assignation de déplacement est utilisé pour copier une lvalue ici, ce qui peut détruire l'objet source",
"la sélection de membre sur une entité générique %[C++/CLI] doit utiliser la syntaxe '->', et non pas '.'",
"un type de classe ref ne peut pas dériver de %t",
@@ -2241,7 +2241,7 @@
"reinterpret_cast de handle non sécurisé",
"un argument template ne peut pas faire référence à un paramètre de type générique",
"une liste d'expressions n'est pas autorisée dans cette opération d'indice (utilisez des parenthèses autour d'un opérateur virgule de niveau supérieur)",
"l'expression doit avoir un type pointeur vers objet ou handle vers tableau %[C++/CLI]",
"l'expression doit avoir un type pointeur vers objet ou descripteur vers tableau %[C++/CLI] mais elle a le type %t",
"attribut non reconnu",
"un membre d'une classe %[managed] ne peut pas être d'un type de classe non %[managed]",
"un membre d'une classe non %[managed] ne peut pas avoir un type de classe ref ou un type de classe interface",
@@ -2261,7 +2261,7 @@
"le type d'itérateur dans cette instruction for each est %t, qui n'est ni un type de pointeur ni un type de classe similaire aux itérateurs",
"le type d'itérateur dans cette instruction for each est %t, qui n'est ni un type de pointeur ni un type de classe similaire aux itérateurs",
"le type d'itérateur dans cette instruction for each est %t, qui n'est ni un type de pointeur ni un type de classe similaire aux itérateurs",
"attribut packing sur le type parent ignoré pour ce champ de %t de type non POD",
"l'attribut packing sur le type parent est ignoré pour ce champ de type de classe %t non standard",
"%nd non implémenté, car cette déclaration n'est pas publique et n'a pas de spécificateur de substitution nommé",
"cette déclaration ne contient pas l'attribut gnu_inline spécifié dans la déclaration précédente %p",
"une fonction membre d'une classe %[managed] ne peut pas avoir un paramètre ellipse",
@@ -2320,7 +2320,7 @@
"ref new",
"une classe interface ne peut pas contenir de membre de données non statique",
"impossible d'utiliser #pragma GCC system_header dans le fichier source principal",
"%n est trop volumineux pour être inline",
"%n est trop volumineux pour être inlined",
" (déclaré implicitement)",
"l'option de contrôle des opérations de déplacement peut uniquement être utilisée lors de la compilation de C++",
"les opérations de déplacement ne peuvent pas être générées lorsque les constructeurs rvalue sont des constructeurs de copie",
@@ -2354,7 +2354,7 @@
"#include <initializer_list> est nécessaire avant l'utilisation de std::initializer_list, dont une utilisation implicite",
"Le mot clé 'inline' ne peut pas être utilisé sur une déclaration d'alias d'espace de noms",
"la déclaration précédente de %n n'était pas déclarée inline",
"une redéclaration de %n inline doit être déclarée inline",
"%n a déjà été déclaré Inline",
"le premier argument doit être une constante entière",
"impossible d'utiliser un désignateur avec un type différent d'un agrégat %t",
"un désignateur pour un membre d'union anonyme peut uniquement apparaître entre des accolades qui correspondent à cette union anonyme",
@@ -2389,7 +2389,7 @@
"une fonction constexpr doit contenir exactement une instruction return",
"l'instruction ne peut pas s'afficher dans une fonction constexpr",
"l'instruction ne peut pas s'afficher dans un constructeur constexpr",
"une fonction ne peut pas être à la fois constexpr et virtual",
"une fonction ne peut pas être à la fois constexpr et virtual dans ce mode",
"une fonction constexpr ne peut pas avoir un type de retour non littéral %t",
"une fonction constexpr ne peut pas avoir un paramètre de type non littéral %t",
"les utilisations non séquencées de %n dans une expression peut produire des résultats indéfinis",
@@ -2435,7 +2435,7 @@
"le constructeur constexpr doit initialiser la classe de base directe %t",
"la création d'un objet std::initializer_list dans un initialiseur de champ ne fonctionne généralement pas comme il le devrait, car le tableau sous-jacent est détruit à la fin de l'expression complète",
"Impossible d'utiliser 'this' dans une expression constante",
"initialiseur vide non valide pour ce type d'union (ambiguïté quant au membre à initialiser)",
null,
"'constexpr' n'est pas autorisé sur une directive d'instanciation explicite",
"impossible de déterminer la spécification d'exception du constructeur par défaut en raison d'une dépendance circulaire",
"union anonyme définie %p",
@@ -2450,7 +2450,7 @@
"qualificateur ref non autorisé ici",
"la surcharge de deux fonctions membres avec les mêmes types de paramètre est possible uniquement si ces deux fonctions ont des qualificateurs ref ou si elles en sont dépourvues",
"caractère non valide dans un délimiteur de chaîne brute",
"parenthèse de fin d'un délimiteur de chaîne brute introuvable après 16 caractères ; indicateur de chaîne brute ignorée",
"parenthèse de fin d'un délimiteur de chaîne brute introuvable dans la limite de 16 caractères ; indicateur de chaîne brute ignorée",
"délimiteur de fin de chaîne brute introuvable",
"un package de paramètres doit être l'argument template final dans une spécialisation partielle",
"une fonction pointeur vers membre avec le type %t peut uniquement être utilisée avec un objet lvalue",
@@ -2474,7 +2474,7 @@
"qualificateur non valide pour %t (classe dérivée non autorisée ici)",
"l'attribut 'always_inline' est ignoré dans les fonctions non inline",
"les constructeurs d'héritage doivent être hérités d'une classe de base directe",
"%np déjà hérité de %t",
null,
"étiquette attendue",
"nombre d'opérande attendu après '%%l'",
"le nombre d'opérande pour '%%l' ne fait pas référence à un argument d'étiquette valide",
@@ -2515,7 +2515,7 @@
"les fonctions supprimées sont une fonctionnalité C++11",
"les fonctions par défaut sont une fonctionnalité C++11",
"impossible d'utiliser une classe de stockage dans une spécialisation explicite",
"%t n'est pas une classe ni une énumération délimitée",
null,
"une énumération non délimitée doit être opaque pour être spécialisée",
"une déclaration de modèle d'énumération doit faire référence à un membre précédemment déclaré d'un modèle de classe",
"opérande de vecteur attendu",
@@ -2669,10 +2669,10 @@
"un constructeur ou un destructeur ne peut pas être une coroutine",
"%n ne peut pas être une coroutine",
"les expressions co_yield ne sont pas autorisées dans une clause catch",
"les expressions co_yield ne sont pas autorisées dans une fonction constexpr",
"dans cette expression co_await, aucune instance de %no ne correspond à la liste d'arguments",
"cette expression co_await requiert une fonction %sq adaptée, mais aucune n'a été trouvée",
"l'expression co_await n'est pas autorisée ici, car le type de promesse %t n'a pas de fonction membre 'return_value' ou 'return_void'",
null,
null,
null,
null,
"modèle de classe %sq introuvable",
"utilisez le mot clé 'typename' pour traiter %n comme un type dans un contexte dépendant",
"la valeur de l'argument doit être inférieure à la somme des éléments de vecteur",
@@ -2682,7 +2682,7 @@
"une expression co_await n'est pas autorisée dans une clause catch",
"une coroutine ne peut pas comporter de paramètre ellipse",
"l'activation de constexpr en C++14 nécessite la prise en charge de 'bool'",
"la fonction constexpr %nd n'est pas définie",
"constexpr %nd non défini",
"impossible d'évaluer cet appel, car la fonction cible %nd n'est pas constexpr ou n'est pas encore complètement définie",
"remarque",
"Remarque",
@@ -2701,14 +2701,14 @@
"tentative d'accès au stockage juste après la fin du tableau de %d éléments",
"tentative d'accès au stockage expiré",
"tentative d'accès au stockage au moment de l'exécution",
"impossible d'exécuter un bloc try",
null,
"impossible d'appeler un(e) %nd non constexpr",
"impossible d'utiliser un tableau de longueur variable durant une évaluation de constexpr",
"impossible d'effectuer un déplacement négatif",
"valeur de déplacement (%d) trop grande",
"la valeur dépasse la plage de %t",
"erreur de valeur à virgule flottante",
"tentative de déréférencement d'un pointeur null vers un membre (membre de données)",
"tentative de déréférencement d'un pointeur vers membre null (membre de données)",
"la comparaison d'un pointeur à void et d'un pointeur à une fonction n'est pas standard",
"échec de l'initialisation des métadonnées",
"cast du type de base en type dérivé non valide (le type de classe complet est %t)",
@@ -2737,8 +2737,8 @@
"impossible de définir un pointeur avant le premier élément de tableau",
"une coroutine avec un type de retour déduit est non valide",
"expression non autorisée dans un contexte non évalué",
"yield_value produit un type void",
"yield_value produit une valeur (de type %t), ce qui n'est pas autorisé dans une coroutine avec un type de retour déduit",
null,
null,
"'return' n'est pas autorisé dans une coroutine (utilisez 'co_return' à la place)",
"'co_return' est uniquement autorisé dans les coroutines",
"impossible de comparer les valeurs à virgule flottante",
@@ -2748,7 +2748,7 @@
"type de paramètre de modèle complexe ou imaginaire non standard",
"l'expression co_yield n'est pas autorisée en dehors d'une étendue de fonction",
"indication locale de thread ignorée sur l'union anonyme",
"impossible de déduire le type de retour à partir d'une coroutine sans construction co_yield ou co_await",
null,
"modèle de variable",
"accès à l'objet non initialisé",
"tentative de lecture à partir d'une mémoire volatile",
@@ -2759,7 +2759,7 @@
"la variable ne peut pas avoir le type incomplet %t",
"accès au sous-objet non initialisé (%n)",
"accès au sous-objet non initialisé (classe de base %t)",
"appel de destructeur vide",
"un appel de pseudo-destructeur n'est pas autorisé dans une expression constante",
"tentative de modification du stockage de const",
null,
null,
@@ -2785,12 +2785,12 @@
"virgule attendue (la version de static_assert à un seul argument n'est pas activée dans ce mode)",
"échec de l'assertion statique",
"un qualificateur _Nullable, _Nonnull et _Null_unspecified maximum peut modifier un type",
"les qualificateurs de possibilité de valeur Null sont autorisés uniquement sur les types pointeur et pointeur-vers-membre",
"les qualificateurs de possibilité de valeur Null sont autorisés uniquement sur les types pointeur et pointeur vers membre",
"longueur de vecteur trop grande",
"le type d'élément de vecteur doit être intégral, enum ou un type à virgule flottante réel",
"la fonction intégrée n'est pas disponible car les entiers 128 bits ne sont pas pris en charge",
"la fonction intégrée n'est pas disponible car les types de vecteur ne sont pas pris en charge",
"deux crochets gauches consécutifs peuvent uniquement introduire une liste d'attributs",
"deux crochets gauches successifs introduisent toujours une liste d'attributs, mais aucune liste d'attributs ne peut apparaître ici",
"un attribut 'target' non reconnu empêche cette routine d'être utilisée par la routine de résolution",
"%t n'est pas un type de vecteur",
"les types de vecteur %t1 et %t2 doivent avoir la même longueur",
@@ -2806,11 +2806,11 @@
"un initialiseur de membre par défaut n'est pas autorisé dans une classe value",
"'--implicit_noexcept' nécessite un mode qui active noexcept",
"impossible de plier une opération impliquant une classe de base virtuelle (%t)",
null,
"l'initialisation n'est pas constante",
"impossible d'évaluer la valeur du %t incomplet",
"valeur retournée ignorée dans la routine déclarée avec l'attribut 'nodiscard'",
"type valeur retourné ignoré avec l'attribut 'nodiscard'",
"l'attribut 'nodiscard' ne s'applique pas aux constructeurs, destructeurs ou routines ayant le type de retour void",
"l'attribut 'nodiscard' ne s'applique pas aux destructeurs ou routines ayant le type de retour void",
"l'attribut 'fallthrough' s'applique uniquement aux instructions ayant une valeur null",
"l'attribut 'fallthrough' peut apparaître uniquement dans une instruction switch englobante",
"l'instruction fallthrough doit précéder l'étiquette case ou default de switch",
@@ -2821,7 +2821,7 @@
"__has_include ne peut pas apparaître en dehors de #if",
"impossible d'ajouter la classe de base CComCoClass",
"ne représente pas une chaîne finissant par une valeur null",
"impossible d'utiliser le type non-scalaire %t dans un appel de destructeur vide",
"impossible d'utiliser le type non-scalaire %t dans un appel de pseudo-destructeur",
"l'adresse de 'weak' %n n'est pas une constante",
"trop de substitutions récursives des signatures de modèle de fonction",
"spécificateur non valide pour la déclaration de liaison structurée",
@@ -2928,29 +2928,29 @@
"l'emplacement de fin d'en-tête adapté est introuvable. Aucun fichier PCH IntelliSense n'a été généré.",
"impossible d'utiliser des directives line dans un fichier PCH. Aucun fichier PCH IntelliSense n'a été généré.",
"spécificateur de restriction non valide",
"la fonction %nfd restreinte à amp doit être appelée à partir d'une fonction restreinte à amp",
"la fonction %nfd restreinte à amp doit être appelée à partir d'une fonction à restriction amp",
"la fonction %nfd1 a des spécificateurs de restriction incompatibles avec l'appel de la fonction %nfd2",
"aucun candidat de surcharge n'a les spécificateurs de restriction appropriés",
"%t non autorisé dans une fonction %nfd restreinte à amp",
"%t non autorisé dans la fonction à restriction amp %nfd",
"type interdit %t dans ce pointeur pour la fonction membre %nfd restreinte à amp",
"type de retour interdit %t pour la fonction %nfd restreinte à amp",
"type de paramètre interdit %t pour la fonction %nfd restreinte à amp",
"type de retour interdit %t pour la fonction à restriction amp %nfd",
"type de paramètre interdit %t pour la fonction à restriction amp %nfd",
null,
"classe de stockage interdite %s dans la fonction %nfd restreinte à amp",
"%s non autorisé dans la fonction %nfd restreinte à amp",
"cast non conforme dans la fonction restreinte à amp",
"spécification d'exception non autorisée dans la fonction restreinte à amp",
"indirection non conforme dans la fonction %nfd restreinte à amp",
"appels de fonction virtuels non conformes dans la fonction %nfd restreinte à amp",
"appels de fonction indirects non conformes dans la fonction %nfd restreinte à amp",
"classe de stockage interdite %s dans la fonction à restriction amp %nfd",
"%s non autorisé dans la fonction à restriction amp %nfd",
"cast non conforme dans la fonction à restriction amp",
"spécification d'exception non autorisée dans la fonction à restriction amp",
"indirection non conforme dans la fonction à restriction amp %nfd",
"appels de fonction virtuels non conformes dans la fonction à restriction amp %nfd",
"appels de fonction indirects non conformes dans la fonction à restriction amp %nfd",
"classe de stockage tile_static non autorisée ici",
"étiquette non conforme dans la fonction %nfd restreinte à amp",
"champ de bits non conforme pour la fonction %nfd restreinte à amp",
"ellipse non conforme pour la fonction %nfd restreinte à amp",
"étiquette non conforme dans la fonction à restriction amp %nfd",
"champ de bits non conforme pour la fonction à restriction amp %nfd",
"ellipse non conforme pour la fonction à restriction amp %nfd",
"base virtuelle non conforme pour le type %nfd compatible avec amp",
"référence externe non conforme dans la fonction %nfd restreinte à amp",
"valeur de constante en dehors de la plage prise en charge dans la fonction %nfd restreinte à amp",
"valeur de pragma pack non conforme %s pour la fonction restreinte à amp",
"référence externe non conforme dans la fonction à restriction amp %nfd",
"valeur de constante en dehors de la plage prise en charge dans la fonction à restriction amp %nfd",
"valeur de pragma pack non conforme %s pour la fonction à restriction amp",
"spécificateurs de restriction en chevauchement non autorisés",
"les spécificateurs de restriction du destructeur doivent couvrir l'union des spécificateurs de restriction sur tous les constructeurs",
null,
@@ -2961,8 +2961,8 @@
null,
"les spécificateurs de restrictions multiples ne sont pas pris en charge sur les fonctions \"C\" externes",
"pointeur vers des fonctions membres, pointeurs de fonction, références à des fonctions avec spécificateur de restriction 'amp' non autorisés",
"la classe de base, le membre de données ou l'élément de tableau doivent être alignés sur au moins 4 octets pour la fonction %nfd restreinte à amp",
"le décalage d'un membre de données doit être un multiple de son alignement naturel pour la fonction %nfd restreinte à amp",
"la classe de base, le membre de données ou l'élément de tableau doivent être alignés sur au moins 4 octets pour la fonction à restriction amp %nfd",
"le décalage d'un membre de données doit être un multiple de son alignement naturel pour la fonction à restriction amp %nfd",
null,
null,
null,
@@ -3116,13 +3116,13 @@
null,
null,
null,
null,
null,
"'>>>' attendu",
"la déclaration __cudaPushCallConfiguration est introuvable. L'installation du kit de ressources CUDA est peut-être endommagée.",
"l'initialiseur de style C++17 n'est pas standard dans ce mode",
"la capture de *this n'est pas standard dans ce mode",
"Le préfixe d'attribut 'using' de style C++17 n'est pas standard dans ce mode",
"Les espaces de noms imbriqués de style C++17 ne sont pas standard dans ce mode",
"'constexpr' et 'consteval' ne peuvent pas apparaître tous les deux dans une déclaration",
"seule une instance de 'constexpr', 'consteval' et 'constinit' peut apparaître dans une déclaration",
"une fonction ne peut pas être à la fois consteval et virtual dans ce mode",
"'consteval' n'est pas autorisé sur une directive d'instanciation explicite",
"'consteval' est non valide ici",
@@ -3146,7 +3146,7 @@
"'##' ne doit pas être placé en dernier dans un opérande __VA_OPT__",
"Les espaces de noms inline imbriqués de style C++20 ne sont pas standard dans ce mode",
"impossible de convertir le pointeur vers la classe de base %t2 en pointeur vers la classe dérivée %t1 -- tentative de pointage au-delà de l'objet le plus dérivé",
"l'objet temporaire n'est pas constant",
null,
"impossible d'utiliser 'main' en tant que nom de variable globale ou liaison de langage C spécifique",
"la fonction 'main' ne peut pas être déclarée dans une spécification de liaison",
"la liaison structurée n'est pas autorisée dans une condition",
@@ -3166,17 +3166,17 @@
"l'attribut 'internal_linkage' n'est pas apparu dans une déclaration antérieure",
"aucun candidat de déduction d'argument de modèle viable n'a été localisé pour %n",
"un appel de constructeur complet n'est pas autorisé",
"un opérateur de comparaison peut uniquement être utilisé par défaut dans une définition de classe",
"un opérateur de comparaison par défaut doit être membre ou ami de la classe à laquelle il s'applique",
"type %t incorrect pour le paramètre de l'opérateur de comparaison par défaut (il doit s'agir d'une 'référence à const X' où X est le type classe englobant)",
"le type de retour de l'opérateur de comparaison par défaut doit être 'bool'",
"un opérateur de comparaison de membres par défaut doit être 'const'",
"plusieurs opérateurs vaisseau spatial par défaut définis dans cette classe",
null,
"le type de promesse %t d'une coroutine ne peut pas avoir à la fois 'return_void' et 'return_value' définis",
"'return_value' déclaré dans %p",
"'return_void' déclaré %p",
"instruction co_return manquante alors que %t n'a aucun 'return_void' à la fin de %n",
"variante nothrow de la fonction globale 'operator new' introuvable pour l'allocation d'état de la coroutine",
"'operator delete' viable introuvable pour la libération d'état de la coroutine",
"'operator delete' viable introuvable pour la désallocation d'état de la coroutine",
"une fonction constexpr ne peut pas être une coroutine",
"l'opérande de cette expression %s est résolu en un %t qui n'est pas une classe",
"une expression co_await n'est pas autorisée dans un initialiseur statique",
@@ -3188,7 +3188,190 @@
"les opérateurs de comparaison par défaut ne sont pas pris en charge pour les champs de propriété Microsoft non triviaux",
"le type de comparaison standard (%t) doit être un type classe avec un seul membre de données non statique de type intégral",
"membre de données statique constexpr %sq introuvable dans %t",
"nombre d'éléments (%d) trop grand pour une allocation dynamique",
"demande d'allocation dynamique constexpr trop grande",
"désallocation de stockage non alloué dynamiquement",
"la taille de désallocation (%d1) ne correspond pas à la taille allouée (%d2)",
"une allocation s'est produite ici",
"le type de désallocation (%t1) ne correspond pas au type d'allocation (%t2)",
"certaines allocations dynamiques (nombre total = %d) n'ont pas été libérées",
"%n intrinsèque déclaré avec une signature inattendue (type %t)",
">> sortie de std::__report_constexpr_value",
">> fin de la sortie de std::__report_constexpr_value",
"impossible d'utiliser un tableau avec une taille de tableau dépendante dans l'évaluation constexpr",
"valeur retournée ignorée dans la routine déclarée avec l'attribut 'nodiscard' (%sq)",
"type valeur retourné ignoré avec l'attribut 'nodiscard' (%sq)",
"le constructeur utilisé pour créer un objet abandonné a l'attribut 'nodiscard'",
"le constructeur utilisé pour créer un objet abandonné a l'attribut 'nodiscard' (%sq)",
"le type d'objet abandonné a l'attribut 'nodiscard'",
"le type d'objet abandonné a l'attribut 'nodiscard' (%sq)",
"une référence à un pseudo-destructeur peut être utilisée uniquement pour un appel à un pseudo-destructeur",
"un appel à un destructeur explicite n'est pas autorisé dans une expression constante",
"l'utilisation d'un opérateur virgule non placé entre parenthèses dans une expression d'indice de tableau est dépréciée",
"le nombre d'éléments alloués dynamiquement (%d) est trop faible pour l'initialiseur",
"l'utilisation d'un opérande volatile dans l'expression %s est dépréciée",
"l'utilisation du résultat d'une affectation dans un objet scalaire volatile est dépréciée",
"l'utilisation d'un type de destination volatile pour une expression d'affectation composée est dépréciée",
"l'utilisation d'un paramètre de fonction volatile est dépréciée",
"l'utilisation d'un type de retour volatile est dépréciée",
"l'utilisation d'un qualificateur volatile sur une liaison structurée est dépréciée",
"l'argument 'ext_vector_type' doit être compris entre 1 et 2 047",
"l'attribut 'ext_vector_type' peut apparaître uniquement dans un typedef",
"l'attribut 'ext_vector_type' s'applique uniquement aux types entiers ou à virgule flottante",
"cette macro de test de fonctionnalité est ignorée (et retourne 0) dans le mode de compilation actuel",
"impossible d'évaluer un initialiseur d'agrégat avec plusieurs éléments pour une union",
"La sélection de %nd pour la réécriture d'opérateur ne retourne pas le type bool",
"une expression new qui appelle une fonction d'allocation spécifique à une classe ne peut pas être évaluée en tant que constante",
"une expression new de placement ne peut pas être évaluée en tant que constante",
"une suppression via un pointeur de sous-objet nécessite un destructeur virtuel",
"%npTd, avec des arguments inversés",
"l'opérande de __INTADDR__ doit être décalé par rapport au pointeur null",
"La construction _Generic correspond à plusieurs types",
"l'autre correspondance est %t",
"l'attribut 'availability' utilisé ici est ignoré",
"L'instruction de l'initialiseur de style C++20 dans une instruction 'for' basée sur une plage n'est pas standard dans ce mode",
"co_await peut s'appliquer uniquement à une instruction for basée sur une plage",
"impossible de déduire le type de la plage dans une boucle 'for' basée sur une plage",
"les variables inline sont une fonctionnalité C++17",
"l'opérateur delete de destruction nécessite %t en tant que premier paramètre",
"un opérateur delete de destruction ne peut pas avoir d'autres paramètres que std::size_t et std::align_val_t",
"les options de classe abstraite non limitées peuvent uniquement être utilisées durant la compilation en C++",
"début d'expression non valide dans la clause requires",
"une expression cast dans une clause requires doit être entre parenthèses",
"cet opérateur ne peut pas apparaître au niveau supérieur (sans parenthèses) dans une clause requires",
"la contrainte atomique doit être de type bool",
"échec de substitution de la contrainte atomique",
"la contrainte atomique n'est pas une constante",
"la contrainte atomique a la valeur false",
"contrainte de modèle non satisfaite",
"la définition de concept ne peut pas apparaître dans cette étendue",
"redéclaration non valide de %nd",
"échec de la substitution des arguments %T pour l'ID de concept",
"le concept est faux pour les arguments %T",
"une clause requires n'est pas autorisée ici (il ne s'agit pas d'une fonction basée sur un modèle)",
"modèle de concept",
"clause requires incompatible avec %nfd",
"attribut attendu",
null,
"nom de type attendu",
"un paramètre ellipse n'est pas autorisé dans une expression requires",
"un paramètre sans nom dans une expression requires n'a aucun effet",
"nom de concept attendu",
"un appel à %s apparaissant dans une expression constante produit toujours 'true'",
"un appel à %s apparaissant dans un contexte consteval produit toujours 'true'",
"un appel à %s apparaissant dans une fonction non constexpr produit toujours 'false'",
"échec de la contrainte de type pour %t",
"l'option 'export' ne peut pas être utilisée dans les modes où les modules C++ sont activés",
"une déclaration de fragment de module global doit précéder toute autre déclaration",
"une déclaration de module ne peut être précédée que d'un fragment de module global",
"un fragment de module privé doit être précédé d'une déclaration de module",
"un fragment de module %s ne peut pas être exporté",
"impossible de déclarer plusieurs modules",
"impossible de déclarer plusieurs fragments de module %s",
"un module doit être déclaré avec un nom non vide",
"%sq n'est pas un en-tête importable",
"impossible d'importer un module sans nom",
"un module ne peut pas avoir de dépendance d'interface par rapport à lui-même",
"le module %sq a déjà été importé",
"fichier de module",
"fichier de module %sq introuvable pour l'importation",
"impossible d'importer le fichier de module %sq"
"fichier de module introuvable pour le module %sq",
"impossible d'importer le fichier de module %sq",
"%s1 attendu, %s2 trouvé à la place",
"à l'ouverture du fichier de module %sq",
"nom de partition inconnu %sq",
"fichier de module inconnu",
"fichier de module d'en-tête importable",
"fichier de module EDG",
"fichier de module IFC",
"fichier de module inattendu",
"le type du deuxième opérande %t2 doit avoir la même taille que %t1",
"le type doit pouvoir être copié de façon triviale",
"le type %t n'est pas pris en charge pour l'évaluation de constexpr de __builtin_bit_cast",
"les types classe avec des champs de bits %t ne sont pas pris en charge pour l'évaluation de constexpr de __builtin_bit_cast",
"un membre de données non statique de type référence %t empêche l'évaluation de constexpr de __builtin_bit_cast",
"un type volatile %t empêche l'évaluation de constexpr de __builtin_bit_cast",
"un type union, pointeur ou pointeur vers membre %t empêche l'évaluation de constexpr de __builtin_bit_cast",
"%npTd, hérité via l'utilisation de decl %p",
"la construction de sous-objet de %t pour l'héritage de constructeurs ne peut pas être effectuée -- le constructeur par défaut implicite est supprimé",
"%n doit retourner void",
"début de déclaration de membre non valide",
"'auto' attendu",
"cet opérateur n'est pas autorisé à ce stade ; mettez entre parenthèses l'expression new précédente",
"utilisation non valide du concept",
"un opérateur de comparaison de membres par défaut ne peut pas être qualifié en tant que '&&'",
"la fonction de comparaison constexpr par défaut appelle la fonction non constexpr %nd",
"la comparaison de mémoire constexpr est prise en charge uniquement pour les objets d'entiers ou les objets de tableaux d'entiers",
"un modèle de concept ne peut pas avoir de contraintes associées",
"'export' n'est pas autorisé",
"l'exportation de membres de classe individuels n'est pas autorisée",
"une déclaration exportée doit introduire un nom",
"une déclaration export ne peut pas contenir de déclaration export (déclaration précédente %p)",
"une déclaration export ne peut pas contenir de déclaration import de module",
"une déclaration export ne peut apparaître que dans une unité d'interface de module",
"une déclaration export ne peut pas exporter un nom avec une liaison interne",
"la déclaration using inclut %nfd",
"la fonction intégrée n'est pas disponible, car les types à virgule flottante __fp16 ne sont pas pris en charge",
"une expression requires doit spécifier au moins une exigence",
"'constinit' est non valide ici",
"'constinit' est valide uniquement pour les déclarations de variables ayant une durée de stockage statique ou de thread",
"la variable constinit nécessite une initialisation dynamique",
"la variable a été déclarée avec 'constinit' %p",
"utilisation d'un déclarateur de fonction non-prototype",
"l'argument ne peut pas avoir un type qualifié const",
"un pointeur vers membre de type incomplet %t n'est pas autorisé",
"l'expansion de pack dans init-capture n'est pas activée dans ce mode",
"l'expansion de pack dans init-capture est une fonctionnalité C++20",
"un opérateur de comparaison par défaut dans une définition de classe doit être la première déclaration de cet opérateur de comparaison (%nd)",
"une expansion de pack dans une capture d'initialisation peut uniquement être utilisée dans un modèle variadique",
"la contrainte de type utilise %nd qui n'est pas un concept de type (c'est-à-dire un modèle de concept dont le premier paramètre est un paramètre de type)",
"échec de la contrainte de type pour le type d'espace réservé déduit %t",
"le constructeur par défaut pour %t n'est pas éligible",
"le destructeur pour %t est ambigu en raison de contraintes non ordonnées",
"le destructeur pour %t est inéligible en raison de l'échec de contraintes",
"candidat destructeur ambigu",
"une fonction virtuelle ne peut pas avoir de clause requires de fin",
"%nd ne respecte pas ses contraintes",
"le résultat du qualificateur decltype %t n'est pas une classe ou une énumération",
"la comparaison est ambiguë dans la norme C++20, car l'opérateur de comparaison implicite avec des paramètres inversés représente une correspondance tout aussi appropriée (cela est généralement dû à un qualificateur 'const' manquant sur l'opérateur de comparaison) ; consultez %nod",
"ID de concept non valide",
"échec de la substitution des arguments %T pour la clause requires",
"les contraintes pour %nd ne sont pas satisfaites",
"le type de variable %t dans la fonction constexpr a des classes de base virtuelles",
"une expression constante ne peut pas allouer un sous-objet de base virtuel (pour le type %t)",
"un paramètre de modèle de type classe doit être de type classe structurelle",
"la prise en charge des littéraux UTF-8 nécessite une prise en charge du littéral u.",
"mappage de fichier de module pour '%s' spécifié plusieurs fois",
"mappage d'unité d'en-tête pour '%s' spécifié plusieurs fois",
"aucun mappage spécifié pour '%s'",
"le mappage de fichier de module pour '%s' est non valide",
"l'en-tête '%s' à importer est introuvable",
"plusieurs fichiers dans la liste de fichiers de module correspondent à '%s'",
"le fichier de module trouvé pour '%s' est destiné à un autre module",
"n'importe quel genre de fichier de module",
"impossible de lire le fichier de module",
"la fonction intégrée n'est pas disponible, car le type char8_t n'est pas pris en charge avec les options actuelles",
"l'option de ligne de commande --ms_await ne peut pas être spécifiée si les coroutines C++20 sont activées",
"utilisation non standard du constructeur explicite %nod pour l'initialisation de l'élément d'agrégation par défaut",
"la source ou la destination de l'intrinsèque de type memcpy ne pointe pas vers un objet",
"l'intrinsèque de type memcpy tente de copier les types représentatifs distincts %t1 et %t2",
"l'intrinsèque de type memcpy tente de copier le type non trivialement copiable %t",
"l'intrinsèque de type memcpy tente de copier un objet partiel",
"l'intrinsèque de type memcpy tente de copier au-delà de la limite du tableau",
"l'intrinsèque de type memcpy tente de copier des plages d'octets qui se chevauchent (en utilisant plutôt l'opération memmove correspondante)",
"une déclaration friend avec une clause requires de fin doit être une définition",
"l'expression doit avoir un type arithmétique ou pointeur mais elle a le type %t",
"l'expression doit avoir un type arithmétique, enum ou pointeur mais elle a le type %t",
"l'expression doit avoir un type arithmétique, enum non délimité ou pointeur mais elle a le type %t",
"l'expression doit avoir un type pointeur mais elle a le type %t",
"opérateur -> ou ->* appliqué à %t au lieu de l'être à un type pointeur",
"le type classe incomplet %t n'est pas autorisé",
"impossible d'interpréter la disposition des bits pour cette cible de compilation",
"aucun opérateur correspondant pour l'opérateur IFC %sq",
"aucune convention d'appel correspondante pour la convention d'appel IFC %sq",
"le module %sq contient des constructions non prises en charge",
"construction IFC non prise en charge : %sq",
"__is_signed n'est plus un mot clé à partir de ce point",
"une dimension de tableau doit avoir une valeur d'entier non signé constante",
"le fichier IFC %sq a une version non prise en charge : %d1.%d2",
"les modules ne sont pas activés dans ce mode"
]
+312 -129
View File
@@ -74,7 +74,7 @@
null,
null,
null,
"l'operando di '*' deve essere un puntatore",
"l'operando di '*' deve essere un puntatore ma il tipo è %t",
"l'argomento della macro è vuoto",
"questa dichiarazione non include classe di archiviazione o identificatore di tipo",
"una dichiarazione di parametro non può includere un inizializzatore",
@@ -130,8 +130,8 @@
"ciclo non raggiungibile",
"una funzione con ambito blocco può includere solo la classe di archiviazione extern",
"previsto '{'",
"l'espressione deve avere il tipo puntatore a classe",
"l'espressione deve avere il tipo puntatore a struttura o unione",
"l'espressione deve essere di tipo puntatore a classe ma il tipo è %t",
"l'espressione deve essere di tipo puntatore a struct o unione ma il tipo è %t",
"previsto un nome di membro",
"previsto un nome di campo",
"%n non include alcun membro %sq",
@@ -141,7 +141,7 @@
"impossibile accettare l'indirizzo di un campo di bit",
"troppi argomenti nella chiamata di funzione",
"impossibile utilizzare parametri con prototipo senza nome quando è presente il corpo",
"l'espressione deve avere il tipo puntatore a oggetto",
"l'espressione deve essere di tipo puntatore a oggetto ma il tipo è %t",
"programma troppo grande o complesso per essere compilato",
"impossibile utilizzare un valore di tipo %t1 per inizializzare un'entità di tipo %t2",
"impossibile inizializzare %n",
@@ -152,8 +152,8 @@
"impossibile dichiarare nuovamente un nome di tipo come parametro",
"impossibile dichiarare nuovamente un nome di typedef come parametro",
"conversione di un numero intero diverso da zero in un puntatore",
"l'espressione deve avere il tipo classe",
"l'espressione deve avere il tipo struttura o unione",
"l'espressione deve essere di tipo classe ma il tipo è %t",
"l'espressione deve essere di tipo struct o unione ma il tipo è %t",
"operatore di assegnazione obsoleto",
"inizializzatore obsoleto",
"l'espressione deve essere un'espressione di costante integrale",
@@ -171,7 +171,7 @@
"prevista una dichiarazione",
"il puntatore punta all'esterno dell'oggetto sottostante",
"conversione di tipo non valida",
"conflitto tra collegamenti esterni/interni con la dichiarazione precedente",
"conflitto tra collegamenti esterni/interni con la dichiarazione precedente %p",
"il valore a virgola mobile non rientra nel tipo integrale richiesto",
"l'espressione non ha effetto",
"indice non incluso nell'intervallo",
@@ -392,7 +392,7 @@
"non è possibile chiamare la funzione 'main' o accettarne l'indirizzo",
"impossibile specificare l'inizializzatore new per una matrice",
"impossibile dichiarare nuovamente una funzione membro %no all'esterno della relativa classe",
"puntatore a tipo classe incompleto non consentito",
"il puntatore al tipo classe incompleto %t non è consentito",
"riferimento a variabile locale della funzione contenitore non consentito",
"utilizzata una funzione ad argomento singolo per aggiungere la forma suffissa a %sq (anacronismo)",
null,
@@ -420,9 +420,9 @@
"è disponibile più di una funzione di conversione da %t a un tipo incorporato:",
"costante %n",
"riferimento %n",
"%npT",
"%npTd",
"operatore predefinito %sq",
"%no (ambiguo per ereditarietà)",
"%nod, ambiguo per ereditarietà",
"un costruttore o un distruttore non può accettare il relativo indirizzo",
null,
"memoria temporanea utilizzata per il valore iniziale del riferimento a non const (anacronismo)",
@@ -453,9 +453,9 @@
"omissione di %sq non conforme allo standard",
"impossibile specificare il tipo restituito in una funzione di conversione",
"rilevato durante:",
"creazione dell'istanza del contesto %p1 del modello %nt1",
"creazione di un'istanza del contesto %p1 del modello %nt1",
"generazione implicita del contesto %p1 del modello %nt1",
"ricorsione eccessiva durante la creazione dell'istanza di %n",
"ricorsione eccessiva durante la creazione di un'istanza di %n",
"%sq non è una funzione o un membro dati statici",
"l'argomento di tipo %t1 è incompatibile con il parametro del modello di tipo %t2",
"non è possibile eseguire un'inizializzazione che richiede un tipo temporaneo o una conversione",
@@ -483,7 +483,7 @@
"classe di archiviazione non valida per una dichiarazione di modello",
"%nd è un tipo non accessibile (consentito per compatibilità con cfront)",
null,
"dichiarazione di creazione esplicita di un'istanza non valida",
"dichiarazione della creazione esplicita di un'istanza non valida",
"%nf non è un'entità di cui è possibile creare un'istanza",
"impossibile creare in modo esplicito un'istanza della funzione %n generata dal compilatore",
"impossibile creare in modo esplicito un'istanza della funzione %n inline",
@@ -526,8 +526,8 @@
"chiamata funzione non const per l'oggetto const (anacronismo)",
"un'istruzione dipendente non può essere una dichiarazione",
"il tipo di un parametro non può essere void",
"creazione dell'istanza del contesto %p1 della classe %na1",
"elaborazione dell'elenco degli argomenti di modello per il contesto %p1 della classe %na1",
"creazione di un'istanza del contesto %p1 della classe %na1",
"elaborazione dell'elenco degli argomenti di modello per %na %p",
"operatore non consentito in un'espressione di argomento del modello",
"con il blocco try è richiesto almeno un gestore",
"con il gestore è richiesta una dichiarazione di eccezione",
@@ -541,7 +541,7 @@
"specificato in precedenza ma omesso in questo punto: %t",
"il supporto per la gestione delle eccezioni è disabilitato",
"consentire tutte le eccezioni non è compatibile con %nd precedente",
"impossibile creare il file di richiesta di creazione dell'istanza %sq",
"non è stato possibile creare il file di richiesta di creazione di un'istanza %sq",
"operazione non aritmetica non consentita nell'argomento del modello non di tipo",
"utilizzo di un tipo locale per dichiarare una variabile non locale",
"utilizzo di un tipo locale per dichiarare una funzione",
@@ -575,7 +575,7 @@
"non è stato possibile aprire il file IL %s",
"numero non valido: %s",
"ID della CPU host non valido",
"modalità di creazione dell'istanza non valida: %s",
"la modalità di creazione di un'istanza non è valida: %s",
null,
"limite di errore non valido: %s",
null,
@@ -586,8 +586,8 @@
null,
"è possibile eliminare le tabelle delle funzioni virtuali solo quando si esegue la compilazione nel linguaggio C++",
"è possibile utilizzare l'opzione anachronism solo quando si esegue la compilazione nel linguaggio C++",
"è possibile utilizzare l'opzione instantiation mode solo quando si esegue la compilazione nel linguaggio C++",
"è possibile utilizzare la modalità di creazione automatica di un'istanza solo quando si esegue la compilazione nel linguaggio C++",
"è possibile usare l'opzione instantiation mode solo quando si esegue la compilazione nel linguaggio C++",
"è possibile usare la modalità di creazione automatica di un'istanza solo quando si esegue la compilazione nel linguaggio C++",
"è possibile utilizzare la modalità di inclusione implicita del modello solo quando si esegue la compilazione nel linguaggio C++",
"è possibile utilizzare l'opzione di gestione delle eccezioni solo quando si esegue la compilazione nel linguaggio C++",
"la modalità strict non è compatibile con la modalità K&R",
@@ -601,7 +601,7 @@
"creazione eccessiva di istanze ricorsive di %n dovuta alla modalità instantiate-all",
"la modalità strict non è compatibile con gli anacronismi",
"il tipo di un'espressione throw non può essere void",
"la modalità di creazione di istanze locale non è compatibile con la creazione di istanze automatica",
"la modalità di creazione di un'istanza locale non è compatibile con la creazione di un'istanza automatica",
"parametro del tipo classe astratta %t non consentito:",
"matrice della classe astratta %t non consentita:",
"parametro del modello a virgola mobile non conforme allo standard",
@@ -682,10 +682,10 @@
"directory PCH non valida: %s",
"previsto __except o __finally",
"un'istruzione __leave può essere utilizzata solo in un blocco __try",
"rilevato durante la creazione dell'istanza del contesto %p1 del modello %nt1",
"rilevato durante la creazione di un'istanza del contesto %p1 del modello %nt1",
"rilevato durante la generazione implicita del contesto %p1 del modello %nt1",
"rilevato durante la creazione dell'istanza del contesto %p1 della classe %na1",
"rilevato durante l'elaborazione dell'elenco degli argomenti di modello per il contesto %p1 della classe %na1",
"rilevato durante la creazione di un'istanza del contesto %p1 della classe %na2",
"rilevato durante l'elaborazione dell'elenco degli argomenti di modello per %na %p",
"rilevato durante la definizione implicita del contesto %p1 del modello %nt1",
"%sq non trovato nello stack di allineamento compressione",
"stack di allineamento compressione vuoto",
@@ -693,7 +693,7 @@
"impossibile accedere a %nfd, richiesto per la copia che è stata eliminata",
"non è possibile chiamare %nf, richiesto per la copia che è stata eliminata, perché non è possibile associare il parametro di riferimento a rvalue",
"è necessario includere <typeinfo> prima di utilizzare typeid",
"impossibile eseguire il cast di %s lontano da const o da altri qualificatori di tipo",
"%s non può eseguire il cast lontano da const o da altri qualificatori di tipo",
"il tipo in un dynamic_cast deve essere un puntatore o un riferimento a un tipo classe completo oppure void *",
"l'operando di un dynamic_cast per un puntatore deve essere un puntatore a un tipo classe completo",
"l'operando di un dynamic_cast per un riferimento deve essere un lvalue di un tipo classe completo",
@@ -732,7 +732,7 @@
"%n non è un modello di classe",
"matrice con tipo di elementi incompleto non conforme allo standard",
"impossibile dichiarare un operatore di allocazione in uno spazio dei nomi",
"impossibile dichiarare un operatore di deallocazione in uno spazio dei nomi",
"non è possibile dichiarare un operatore di deallocazione in uno spazio dei nomi",
"conflitto tra %np1 e la dichiarazione using di %np2",
"conflitto tra la dichiarazione using di %np1 e %npd2",
"è possibile utilizzare l'opzione namespaces solo quando si esegue la compilazione nel linguaggio C++",
@@ -757,7 +757,7 @@
"impossibile ridichiarare %n nell'ambito corrente",
"nome qualificato non consentito nella dichiarazione di membro dello spazio dei nomi",
"%n non è un nome di tipo",
"creazione di istanze esplicite non consentita nell'ambito corrente",
"creazione esplicita di un'istanza non consentita nell'ambito corrente",
"non è possibile creare un'istanza esplicita di %n nell'ambito corrente",
"è stata creata più di un'istanza esplicita di %n",
"typename può essere utilizzato solo in un modello",
@@ -817,7 +817,7 @@
"qualificatore di tipo privo di significato nel tipo restituito",
"qualificatore di tipo in un tipo restituito 'void' non consentito in una definizione di funzione",
"dichiarazione di membro dati statico non consentita in questa classe",
"dichiarazione di funzione ottenuta in seguito alla creazione dell'istanza del modello non valida",
"dichiarazione di funzione ottenuta in seguito alla creazione di un'istanza del modello non valida",
"'...' non consentito",
"è possibile utilizzare l'opzione 'extern_inline' solo quando si esegue la compilazione nel linguaggio C++",
"è stato fatto riferimento alla funzione inline extern %n che non è definita",
@@ -841,7 +841,7 @@
"%no",
"elenco degli argomenti di modello non consentito in una dichiarazione di un modello principale",
"le specializzazioni parziali non possono includere argomenti di modello predefiniti",
"%n1 non viene utilizzato o non può essere dedotto dall'elenco degli argomenti di modello di %n2",
"%n1 non viene usato o non può essere dedotto dall'elenco degli argomenti di modello di %n2",
null,
"l'elenco degli argomenti di modello della specializzazione parziale include un argomento non di tipo il cui tipo dipende dal parametro del modello",
"per creare un'istanza di %n sarebbe stata utilizzata questa specializzazione parziale",
@@ -870,7 +870,7 @@
"spazio richiesto tra delimitatori '>' adiacenti di elenchi degli argomenti di modello annidati. '>>' è l'operatore di spostamento verso destra",
"impossibile definire le impostazioni locali %sq in modo da consentire l'elaborazione di caratteri multibyte",
"sequenza di caratteri multibyte non valida",
"tipo di funzione di %t1 imprevisto ottenuto in seguito alla creazione dell'istanza del modello. È possibile che il significato di un nome sia stato modificato rispetto alla dichiarazione del modello. Il tipo del modello è %t2",
"tipo di funzione di %t1 imprevisto ottenuto in seguito alla creazione di un'istanza del modello. È possibile che il significato di un nome sia stato modificato rispetto alla dichiarazione del modello. Il tipo del modello è %t2",
"dichiarazione di guida ambigua. Più modelli di funzione %no corrispondenti al tipo %t",
"operazione non integrale non consentita nell'argomento del modello non di tipo",
"è possibile utilizzare l'opzione 'embedded_c++' solo quando si esegue la compilazione nel linguaggio C++",
@@ -902,7 +902,7 @@
null,
"qualificatore del nome di distruttore %t1 non corrispondente al tipo %t2",
"qualificatore di tipo ignorato",
"è possibile utilizzare l'opzione 'nonstd_qualifier_deduction' solo quando si esegue la compilazione nel linguaggio C++",
"è possibile usare l'opzione 'nonstd_qualifier_deduction' solo quando si esegue la compilazione nel linguaggio C++",
"impossibile definire 'dllimport' dichiarato da una funzione",
"specifica di proprietà errata. Il formato corretto è __declspec(property(get=nome1,put=nome2))",
"proprietà già specificata",
@@ -916,11 +916,11 @@
null,
null,
"impossibile convertire il puntatore al membro della classe derivata %t1 nel puntatore al membro della classe base %t2. La classe base è virtuale",
"directory non valida per i file di creazione dell'istanza: %s",
"è possibile utilizzare l'opzione 'one_instantiation_per_object' solo quando si esegue la compilazione nel linguaggio C++",
"la directory per i file di creazione di un'istanza non è valida: %s",
"è possibile usare l'opzione 'one_instantiation_per_object' solo quando si esegue la compilazione nel linguaggio C++",
null,
null,
"non è possibile specificare il nome del file di informazioni sulla creazione dell'istanza quando si compilano diversi file di input",
"non è possibile specificare il nome del file di informazioni sulla creazione di un'istanza quando si compilano diversi file di input",
"non è possibile usare l'opzione 'one_instantiation_per_object' quando si compilano diversi file di input",
"più opzioni della riga di comando corrispondenti all'abbreviazione '--%s':",
"--%s",
@@ -930,7 +930,7 @@
"utilizzo di va_start non corretto",
"utilizzo di va_arg non corretto",
"utilizzo di va_end non corretto",
"è possibile utilizzare l'opzione pending instantiations solo quando si esegue la compilazione nel linguaggio C++",
"è possibile usare l'opzione pending instantiations solo quando si esegue la compilazione nel linguaggio C++",
"directory non valida per i file #import: %s",
"è possibile specificare una directory di importazione solo in modalità Microsoft",
"membro con tipo di riferimento non consentito in un'unione",
@@ -954,10 +954,10 @@
"il tipo di un parametro di modello non di tipo non può essere di classe",
"impossibile specificare un argomento di modello predefinito nella dichiarazione di un membro di un modello di classe esterno alla relativa classe",
"istruzione return non consentita in un gestore di un blocco try di funzione di un costruttore",
"impossibile combinare indicatori ordinari ed estesi in una designazione di inizializzatori",
"non è possibile combinare indicatori ordinari ed estesi in una designazione di inizializzatori",
"il secondo indice deve essere minore del primo",
null,
"è possibile utilizzare l'opzione 'extended_designators' solo quando si esegue la compilazione nel linguaggio C",
"è possibile usare l'opzione 'extended_designators' solo quando si esegue la compilazione nel linguaggio C",
"la dimensione dichiarata del campo di bit è maggiore di quella del tipo di campo di bit. Verrà troncata a %s bit",
"il tipo utilizzato come nome del costruttore non corrisponde al tipo %t",
"utilizzo di un tipo senza collegamento per dichiarare una variabile con collegamento",
@@ -1033,7 +1033,7 @@
"impossibile fare riferimento a un'entità con collegamento interno in una funzione inline con collegamento esterno",
"tipo di argomento %t non corrispondente alla macro di funzione generica di tipo",
"matrice a lunghezza variabile %nod",
"impossibile aggiungere argomenti predefiniti alla dichiarazione precedente con la dichiarazione Friend",
"non è possibile aggiungere argomenti predefiniti alla dichiarazione precedente con la dichiarazione Friend",
"impossibile dichiarare %n in questo ambito",
"l'identificatore riservato %sq può essere utilizzato una sola volta in una funzione",
"non è possibile usare questo carattere universale come carattere iniziale di un identificatore",
@@ -1149,7 +1149,7 @@
"impossibile utilizzare __super dopo '::'",
"__super può essere utilizzato solo in un ambito di classe",
"__super deve essere seguito da '::'",
"[ contesti di creazione dell'istanza di %d non visualizzati ]",
"[ contesti di creazione di un'istanza di %d non visualizzati ]",
"nome modificato troppo lungo",
"effettuato aliasing della dichiarazione all'entità non definita %sq",
"la dichiarazione non corrisponde al relativo alias %n",
@@ -1229,7 +1229,7 @@
"trasferimento del controllo non consentito in un'espressione di istruzione",
null,
"istruzione non consentita in un'espressione di istruzione",
"definizione di classe non POD non consentita in un'espressione di istruzione",
"non è possibile definire una classe che non sia facilmente copiabile all'interno di un'espressione di istruzione",
null,
"variabile statica locale inizializzata in modo dinamico non consentita in un'espressione di istruzione",
"matrice a lunghezza variabile non consentita in un'espressione di istruzione",
@@ -1256,7 +1256,7 @@
"overflow di integer nel calcolo interno a causa della dimensione o della complessità di %t",
"overflow di integer nel calcolo interno",
"è possibile specificare __w64 solo in tipi int, long e puntatore",
"possibile conversione verso un tipo di dati più piccolo durante la compilazione in un ambiente in cui i tipi int, long o puntatore sono 64 bit",
"potenziale conversione che supporta un minor numero di dati durante la compilazione in un ambiente in cui i tipi int, long o puntatore sono 64 bit",
"il valore corrente di pragma pack è %s",
"argomenti di pragma pack(show) ignorati",
null,
@@ -1289,8 +1289,8 @@
"qualificatore di costante ignorato",
null,
"qualificatori asm GNU non validi",
"tipo classe non POD passato tramite puntini di sospensione",
"impossibile recuperare un tipo classe non POD tramite va_arg",
"un tipo di classe che non è facilmente copiabile è stato passato tramite puntini di sospensione",
"un tipo di classe che non è facilmente copiabile non può essere recuperato da va_arg",
"impossibile utilizzare il suffisso 'u' o 'U' prima del suffisso 'l' o 'L' in un valore letterale a virgola fissa",
"è possibile utilizzare l'opzione 'fixed_point' solo quando si esegue la compilazione nel linguaggio C",
"l'operando del numero intero può causare l'overflow a virgola fissa",
@@ -1361,7 +1361,7 @@
"gli attributi di variabile inseriti dopo un inizializzatore tra parentesi vengono ignorati",
"impossibile utilizzare il risultato di questo cast come lvalue",
"negazione di un valore a virgola fissa senza segno",
"operatore non consentito in questo punto. Usare le parentesi",
null,
null,
"i nomi di registro possono essere utilizzati solo per le variabili register",
"il tipo delle variabili denominato nel registro non può essere void",
@@ -1426,7 +1426,7 @@
"il secondo operando di offsetof deve essere un campo",
"il secondo operando di offsetof non può essere un campo di bit",
"impossibile applicare offsetof a un membro di una base virtuale",
"applicazione di offsetof a tipi non POD non conforme allo standard",
"offsetof è stato applicato a un tipo diverso da una classe layout standard",
"argomenti predefiniti non consentiti in una dichiarazione Friend di una funzione membro",
"argomenti predefiniti non consentiti in dichiarazioni Friend che non sono definizioni",
"ridichiarazione non consentita di %nd, dichiarata in precedenza come Friend con argomenti predefiniti",
@@ -1535,7 +1535,7 @@
"valore di Impossibile ridefinire non valido",
"modificatore di funzione duplicato",
"carattere non valido per il valore letterale char16_t",
"non è possibile applicare __LPREFIX al valore letterale char8_t, char16_t o char32_t",
null,
"convenzione di chiamata %s non riconosciuta. Deve essere una delle seguenti:",
null,
null,
@@ -1559,10 +1559,10 @@
"con l'alias viene creato il ciclo di entità di aliasing",
null,
"impossibile dichiarare con un inizializzatore una variabile con durata di archiviazione statica in un registro specifico",
"il tipo di una variabile allocata in un registro specifico deve essere POD",
"una variabile allocata in un registro specifico deve essere facilmente copiabile",
"significato predefinito di %no eliminato",
null,
"l'indicatore non può specificare un oggetto secondario non POD",
"il tipo di classe non è idoneo per l'uso con indicatori",
null,
"qualificatore di unione anonima non conforme allo standard",
"qualificatore di unione anonima ignorato",
@@ -1670,7 +1670,7 @@
"qualificatore di tipo non consentito in un costruttore o distruttore",
"qualificatore di tipo non consentito in operator new o operator delete",
"qualificatore di tipo non consentito in una funzione non membro",
"espressione __assume con effetti collaterali eliminata",
"l'argomento di %s ha effetti collaterali ma non è valutato",
"tipo di origine Unicode non riconosciuto. Deve essere uno tra UTF-8, UTF-16, UTF-16LE, UTF-16BE: %s",
"carattere Unicode con valore esadecimale %s non rappresentabile nell'output di pre-elaborazione",
"la priorità del costruttore/distruttore richiesta è riservata per uso interno",
@@ -1707,7 +1707,7 @@
"è una directory",
"nome file non valido",
"elenco di definizioni",
"richiesta di creazione dell'istanza",
"richiesta di creazione di un'istanza",
"modello esportato",
"informazioni di esportazione",
"informazioni sul modello",
@@ -1739,7 +1739,7 @@
"impossibile acquisire una variabile locale all'esterno dell'ambito di funzione corrente",
"impossibile fare riferimento alla funzione contenitore 'this' nel corpo di un'espressione lambda a meno che non sia inclusa nell'elenco di acquisizione",
null,
"impossibile copiare la variabile acquisita di tipo %t1 dell'espressione lambda nel campo closure class di tipo %t2",
"non è possibile copiare la variabile catturata di tipo %t1 dell'espressione lambda nel campo closure class di tipo %t2",
"directory del modello non valida: %s",
"errore",
"errori",
@@ -1881,7 +1881,7 @@
"una chiamata a __builtin_fpclassify richiede cinque argomenti integrali seguenti da un argomento a virgola mobile",
"l'ultimo argomento in una chiamata a __builtin_fpclassify deve avere un tipo a virgola mobile reale",
"impossibile impostare l'allineamento su un valore inferiore all'allineamento predefinito",
"nelle creazioni di istanza esplicite non sono consentiti attributi",
"nelle creazioni esplicite di un'istanza non sono consentiti attributi",
"l'attributo %sq non si applica a una definizione",
"l'attributo %sq richiede una definizione",
"gli attributi standard non possono trovarsi in dichiarazioni Friend che non sono definizioni",
@@ -1895,10 +1895,10 @@
"attributo 'hiding' specificato in una dichiarazione che non nasconde una dichiarazione di classe di base",
"attributo 'hiding' specificato in una dichiarazione a cui viene fatto riferimento dalla dichiarazione using %p",
"l'attributo 'hiding' è obbligatorio in una dichiarazione (in una classe 'base_check') che nasconde %nd",
"%n non è definito nell'unità di traduzione ma dipende da un tipo locale",
"%n non è definito nell'unità di traduzione ma dipende da un tipo senza collegamenti",
"l'attributo %sq è assente in un'altra unità di traduzione",
"l'attributo %sq è in conflitto con un'altra unità di traduzione",
"%n non è definito nell'unità di conversione ma dipende da un tipo locale",
"%n non è definito nell'unità di conversione ma dipende da un tipo senza collegamenti",
"l'attributo %sq è assente in un'altra unità di conversione",
"l'attributo %sq è in conflitto con un'altra unità di conversione",
"l'opzione 'nonstd_gnu_keywords' è valida solo nelle modalità GNU C e GNU C++",
"l'uso di una variabile const in un'espressione costante non è standard in C",
"impossibile specificare un inizializzatore per un membro di matrice flessibile con durata dell'archiviazione automatica",
@@ -1919,7 +1919,7 @@
"è richiesto un valore di enumerazione esplicito in un tipo di enumerazione con tipo sottostante booleano",
null,
"è stato fatto riferimento al pacchetto parametri %sq che però non è espanso",
"l'espansione del pacchetto non utilizza i pacchetti di argomenti",
"l'espansione del pacchetto non usa pacchetti di argomenti",
"il pacchetto %sq non ha lo stesso numero di elementi di %sq2",
null,
"l'attributo vector_size non è consentito con un tipo di enumeratore",
@@ -2065,7 +2065,7 @@
"tipo restituito cli::pin_ptr non consentito",
"l'attributo %sq si applica solo in modalità %[C++/CLI]",
"non è possibile associare un riferimento semplice (non di traccia) a un'entità nell'heap gestito",
"assembly portatile",
"assembly portabile",
"'%s' non caricato da assembly predefiniti",
"la sintassi di inizializzazione elenco è una funzionalità C++11",
"l'operando di sizeof non può essere un tipo classe di interfaccia o un tipo classe di riferimento",
@@ -2207,7 +2207,7 @@
"un campo initonly può essere modificato solo dal costruttore istanza della relativa classe che lo contiene",
"un campo initonly statico può essere modificato solo dal costruttore statico della relativa classe che lo contiene",
"la funzione membro verrà richiamata in una copia del campo initonly",
"l'espressione deve avere il tipo puntatore o handle",
"l'espressione deve essere di tipo puntatore o handle ma il tipo è %t",
"un costruttore di spostamento o un operatore di assegnazione spostamento è utilizzato per copiare un lvalue in questo punto; l'operazione potrebbe eliminare in modo permanente l'oggetto di origine",
"la selezione del membro in un'entità generica %[C++/CLI] deve utilizzare la sintassi '->' e non '.'",
"un tipo classe di riferimento non può derivare da %t",
@@ -2241,7 +2241,7 @@
"reinterpret_cast di handle non sicuro",
"un argomento del modello non può fare riferimento a un parametro di tipo generico",
"un elenco di espressioni non è consentito in questa operazione di pedice (racchiudere tra parentesi l'operatore virgola di primo livello)",
"l'espressione deve avere il tipo puntatore a oggetto o handle a matrice %[C++/CLI]",
"l'espressione deve essere di tipo puntatore a oggetto o handle a matrice %[C++/CLI] ma il tipo è %t",
"attributo non riconosciuto",
"il membro di una classe %[managed] non può essere di un tipo di classe non-%[managed]",
"il membro di una classe non-%[managed] non può avere un tipo di classe di riferimento o un tipo di classe di interfaccia",
@@ -2261,7 +2261,7 @@
"il tipo di iteratore in questa istruzione 'for each' è %t, che non è un tipo di puntatore o un tipo di classe simile all'iteratore",
"il tipo di iteratore in questa istruzione 'for each' è %t, che non è un tipo di puntatore o un tipo di classe simile all'iteratore",
"il tipo di iteratore in questa istruzione 'for each' è %t, che non è un tipo di puntatore o un tipo di classe simile all'iteratore",
"compressione dell'attributo sul tipo padre ignorata per questo campo di tipo non POD %t",
"la compressione dell'attributo sul tipo padre viene ignorata per questo campo di tipo classe %t che non corrisponde al layout standard",
"%nd non implementato perché la dichiarazione non è pubblica e non dispone di uno specificatore di override denominato",
"nella dichiarazione manca l'attributo gnu_inline specificato nella dichiarazione precedente %p",
"la funzione di membro di una classe %[managed] non può disporre di un parametro puntini di sospensione",
@@ -2337,7 +2337,7 @@
"puntatore a membro di tipo void non consentito",
"puntatore a membro di tipo di riferimento non consentito",
"puntatore a membro di tipo handle non consentito",
"elenco tra parentesi non consentito",
"elenco tra parentesi graffe non consentito",
"membro operator->* non consentito in una classe gestita",
"i metadati dell'assembly fanno riferimento a un assembly non esistente",
"attributo %sq2 in conflitto con l'attributo precedente %sq1",
@@ -2350,22 +2350,22 @@
"la definizione di std::initializer_list non contiene il costruttore previsto",
"la dichiarazione nasconde %nd",
"elenco di parametri di modello non valido per std::initializer_list (deve essere un parametro di tipo ordinario senza valori predefiniti)",
"impossibile passare un elenco tra parentesi per un parametro puntini di sospensione",
"non è possibile passare un elenco tra parentesi graffe per un parametro puntini di sospensione",
"#include <initializer_list> è necessario prima di utilizzare std::initializer_list, compreso un utilizzo implicito",
"impossibile utilizzare la parola chiave 'inline' in una dichiarazione di alias dello spazio dei nomi",
"la dichiarazione precedente di %n non è stata dichiarata inline",
"una ridichiarazione di inline %n deve essere dichiarata inline",
"%n è stato dichiarato in precedenza come inline",
"il primo argomento deve essere una costante integer",
"non è possibile usare un indicatore con un tipo non aggregato %t",
"un indicatore per un membro di unione anonima può essere presente solo all'interno delle parentesi graffe corrispondenti a tale unione anonima",
"i tag del prototipo di funzione possono essere abilitati solo quando si esegue la compilazione nel linguaggio C",
"le parentesi graffe non possono essere omesse per questo inizializzatore di oggetti secondari",
"conversione verso un tipo di dati più piccolo non valida da %t1 a %t2",
"conversione verso un tipo di dati più piccolo non valida da %t1 a %t2: il valore costante non rientra nel tipo di destinazione",
"le parentesi graffe non possono essere omesse per questo inizializzatore di sotto-oggetti",
"la conversione che supporta un minor numero di dati da %t1 a %t2 non è valida",
"la conversione che supporta un minor numero di dati da %t1 a %t2 non è valida: il valore costante non rientra nel tipo di destinazione",
"cast al tipo di matrice incompleto %t non consentito",
"conversione verso un tipo di dati più piccolo non valida da %t1 a %t2: impossibile rappresentare esattamente il valore costante nel tipo di destinazione",
"un inizializzatore tra parentesi per un'entità non classe deve essere un'espressione, non un elenco tra parentesi",
"un elenco tra parentesi non fornisce un tipo restituito per questa espressione lambda",
"la conversione che supporta un minor numero di dati da %t1 a %t2 non è valida: non è possibile rappresentare esattamente il valore costante nel tipo di destinazione",
"un inizializzatore tra parentesi per un'entità non classe deve essere un'espressione, non un elenco tra parentesi graffe",
"un elenco tra parentesi graffe non fornisce un tipo restituito per questa espressione lambda",
"la specifica dell'eccezione dichiarata non è compatibile con quella generata",
"i tipi di enumerazione con ambito sono una funzionalità C++11",
"un tipo di funzione non può essere inizializzato dal valore",
@@ -2389,7 +2389,7 @@
"una funzione constexpr deve contenere esattamente un'istruzione return",
"l'istruzione non può trovarsi in una funzione constexpr",
"impossibile utilizzare l'istruzione in un costruttore constexpr",
"una funzione non può essere contemporaneamente constexpr e virtuale",
"una funzione non può essere contemporaneamente constexpr e virtual in questa modalità",
"una funzione constexpr non può avere un tipo restituito non letterale %t",
"una funzione constexpr non può avere un parametro di tipo non letterale %t",
"gli utilizzi non in sequenza di %n nell'espressione possono produrre risultati non definiti",
@@ -2420,7 +2420,7 @@
"il costruttore non può essere constexpr perché l'inizializzatore di %n non è un'espressione costante",
"inizializzatore non costante per costruttore constexpr",
"il costruttore predefinito generato per %t non può essere utilizzato in un inizializzatore per il proprio membro dati",
"la creazione dell'istanza dell'inizializzatore di %n dipende dal proprio valore",
"la creazione di un'istanza dell'inizializzatore di %n dipende dal proprio valore",
"il costruttore impostato come predefinito non può essere constexpr perché il costruttore predefinito dichiarato in modo implicito non sarebbe constexpr",
null,
"numero binario non valido",
@@ -2435,8 +2435,8 @@
"il costruttore constexpr deve inizializzare la classe base diretta %t",
"è improbabile che la creazione di un oggetto std::initializer_list in un inizializzatore di campo funzioni come previsto perché la matrice sottostante verrà distrutta alla fine dell'espressione completa",
"impossibile utilizzare 'this' in un'espressione costante",
"un inizializzatore vuoto non è valido per questo tipo di unione (il membro da inizializzare è ambiguo)",
"'constexpr' non è consentito in una direttiva di creazione dell'istanza esplicita",
null,
"'constexpr' non è consentito in una direttiva di creazione esplicita di un'istanza",
"impossibile determinare la specificazione dell'espressione del costruttore predefinito a causa di una dipendenza circolare",
"%p definito da unione anonima",
"questo costruttore utilizza l'inizializzatore di %nd che causerebbe una ricorsione illimitata",
@@ -2450,7 +2450,7 @@
"in questo punto non sono consentiti qualificatori di riferimento",
"per l'overload di due funzioni membro con gli stessi tipi di parametro è necessario che entrambe le funzioni contengano o non contengano i qualificatori di riferimento",
"il carattere nel delimitatore di stringa non elaborata non è valido",
"il delimitatore di stringa non elaborata che termina con la parentesi non è stato trovato dopo 16 caratteri. L'indicatore di stringa non elaborata è stato ignorato",
"il delimitatore di stringa non elaborata che termina con la parentesi non è stato trovato entro 16 caratteri. L'indicatore di stringa non elaborata è stato ignorato",
"il delimitatore finale della stringa non elaborata non è stato trovato",
"l'argomento finale del modello in una specializzazione parziale deve essere un pacchetto di parametri",
"una funzione puntatore a membro con tipo %t può essere usata solo con un oggetto lvalue",
@@ -2474,7 +2474,7 @@
"il qualificatore per %t non è valido. In questo punto non sono consentite classi derivate.",
"l'attributo 'always_inline' viene ignorato in funzioni non inline",
"i costruttori che ereditano devono essere ereditati da una classe base diretta",
"%np è già ereditato da %t",
null,
"è prevista un'etichetta",
"è previsto un numero operando dopo '%%l'",
"il numero operando per '%%l' non fa riferimento a un argomento di etichetta valido",
@@ -2515,7 +2515,7 @@
"le funzioni eliminate sono una funzionalità di C++11",
"le funzioni impostate come predefinite sono una funzionalità di C++11",
"una classe di archiviazione non è consentita in una specializzazione esplicita",
"%t non è una classe o un'enumerazione con ambito",
null,
"un'enumerazione senza ambito deve essere opaca per essere specializzata",
"una dichiarazione di modello dell'enumerazione deve fare riferimento a un membro precedentemente dichiarato di un modello di classe",
"è previsto un operando vettore",
@@ -2669,20 +2669,20 @@
"un costruttore o un distruttore non può essere una coroutine",
"%n non può essere una coroutine",
"le espressioni co_yield non sono consentite in una clausola catch",
"le espressioni co_yield non sono consentite in una funzione constexpr",
"in questa istruzione co_await nessuna istanza di %no corrisponde all'elenco argomenti",
"con questa istruzione co_await è richiesta una funzione %sq appropriata, ma non ne è stata trovata nessuna",
"l'espressione co_await non è consentita in questo punto perché il tipo di promessa %t non include alcuna funzione membro 'return_value' o 'return_void'",
null,
null,
null,
null,
"il modello di classe %sq non è stato trovato",
"usare la parola chiave 'typename' per considerare %n come un tipo in un contesto dipendente",
"il valore dell'argomento deve essere minore della somma degli elementi di vettore",
"per %t non esiste alcun membro %sq",
"con un elenco racchiuso tra parentesi non viene fornito alcun tipo restituito",
"con un elenco tra parentesi graffe non viene fornito alcun tipo restituito",
"un'espressione co_await deve essere specificata in un ambito di funzione",
"un'espressione co_await non è consentita in una clausola catch",
"una coroutine non può contenere un parametro con puntini di sospensione",
"per abilitare constexpr di tipo C++ 14, è richiesto il supporto per 'bool'",
"la funzione constexpr %nd non è definita",
"la constexpr %nd non è definita",
"non è possibile valutare questa chiamata perché la funzione di destinazione %nd non è constexpr oppure non è stata ancora completamente definita",
"nota",
"Nota",
@@ -2701,7 +2701,7 @@
"si è provato ad accedere all'archivio una posizione oltre la fine di una matrice di %d elementi",
"si è provato ad accedere all'archivio scaduto",
"si è provato ad accedere all'archivio di runtime",
"non è possibile eseguire un blocco try",
null,
"non è possibile chiamare %nd non constexpr",
"non è possibile usare la matrice a lunghezza variabile durante la valutazione di constexpr",
"non è possibile eseguire uno scorrimento negativo",
@@ -2737,18 +2737,18 @@
"non è possibile impostare il puntatore prima del primo elemento di matrice",
"una coroutine con un tipo restituito dedotto non è valida",
"l'espressione non è consentita nel contesto non valutato",
"con yield_value viene prodotto il tipo void",
"con yield_value viene prodotto il valore di tipo %t che non è consentito in una coroutine con un tipo restituito dedotto",
null,
null,
"'return' non è consentito in una coroutine (usare 'co_return')",
"'co_return' è consentito solo nelle coroutine",
"non è possibile confrontare valori a virgola mobile",
"non è possibile confrontare i valori di puntatore perché non puntano allo stesso oggetto completo oppure puntano a oggetti secondari con accessibilità diversa",
"non è possibile confrontare i valori di puntatore perché non puntano allo stesso oggetto completo oppure puntano a sotto-oggetti con accessibilità diversa",
"l'attributo abi_tag verrà ignorato nello spazio dei nomi non inline",
"l'attributo abi_tag verrà ignorato nello spazio dei nomi anonimo",
"il tipo di parametro del modello complesso o immaginario non è standard",
"l'espressione co_yield non è consentita all'esterno di un ambito di funzione",
"l'indicazione thread-local verrà ignorata nell'unione anonima",
"non è possibile dedurre il tipo restituito da una coroutine senza costrutto co_yield o co_await",
null,
"modello di variabile",
"accesso all'oggetto non inizializzato",
"si è provato a leggere dall'archivio volatile",
@@ -2757,9 +2757,9 @@
"non è possibile confrontare un puntatore oltre la fine di una matrice con un puntatore a un altro oggetto completo",
"il tipo di funzione %t non è valido per la dichiarazione di un modello di variabile",
"la variabile non può contenere il tipo incompleto %t",
"accesso all'oggetto secondario non inizializzato (%n)",
"accesso all'oggetto secondario non inizializzato (classe di base %t)",
"chiamata al distruttore vuota",
"accesso al sotto-oggetto non inizializzato (%n)",
"accesso al sotto-oggetto non inizializzato (classe di base %t)",
"in un'espressione costante non è consentita una chiamata allo pseudodistruttore",
"si è provato a modificare l'archivio const",
null,
null,
@@ -2781,7 +2781,7 @@
"accesso al membro dell'oggetto _Atomic",
"un campo di bit non può contenere un tipo _Atomic",
"i tipi di classe _Atomic sono disabilitati",
"il costruttore constexpr chiama il costruttore non constexpr per l'inizializzazione dell'oggetto secondario",
"il costruttore constexpr chiama il costruttore non constexpr per l'inizializzazione del sotto-oggetto",
"è prevista una virgola (la versione a un solo argomento di static_assert non è abilitata in questa modalità)",
"l'asserzione statica non è riuscita",
"un tipo può essere modificato al massimo da uno dei qualificatori _Nullable, _Nonnull, e _Null_unspecified",
@@ -2790,7 +2790,7 @@
"il tipo di elemento di vettore deve essere integrale, enumerazione o reale a virgola mobile",
"la funzione predefinita non è disponibile perché gli interi a 128 bit non sono supportati",
"la funzione predefinita non è disponibile perché i tipi di vettore non sono supportati",
"due parentesi quadre aperte consecutive possono solo introdurre un elenco di attributi",
"due parentesi quadre aperte consecutive introducono sempre un elenco di attributi, ma in questo punto non è possibile specificare un elenco di attributi",
"l'attributo 'target' non è riconosciuto, di conseguenza questa routine non può essere usata dalla routine del resolver",
"%t non è un tipo di vettore",
"i tipi di vettore %t1 e %t2 devono avere la stessa lunghezza",
@@ -2806,11 +2806,11 @@
"in una classe di valori non sono consentiti inizializzatori di membri predefiniti",
"con '--implicit_noexcept' è richiesta una modalità che abilita noexcept",
"non è possibile ridurre l'operazione che riguarda la classe di base virtuale (%t)",
null,
"l'inizializzazione non è costante",
"non è possibile valutare il valore dell'oggetto incompleto %t",
"il valore restituito dalla routine dichiarata con l'attributo 'nodiscard' verrà ignorato",
"il tipo del valore restituito con l'attributo 'nodiscard' verrà ignorato",
"l'attributo 'nodiscard' non può essere applicato a costruttori, distruttori o routine con tipo restituito void",
"l'attributo 'nodiscard' non può essere applicato a distruttori o routine con tipo restituito void",
"l'attributo 'fallthrough' si applica solo a istruzioni Null",
"l'attributo 'fallthrough' può essere usato solo in un'istruzione switch in cui è incluso",
"l'attributo fallthrough deve precedere un'etichetta switch case o default",
@@ -2821,7 +2821,7 @@
"non è possibile specificare __has_include all'esterno di #if",
"non è stato possibile aggiungere la classe di base CComCoClass",
"non è una stringa con terminazione Null",
"non è possibile usare il tipo non scalare %t in una chiamata al distruttore vuota",
"non è possibile usare il tipo non scalare %t in una chiamata allo pseudodistruttore",
"l'indirizzo di 'weak' %n non è costante",
"sono presenti troppe sostituzioni ricorsive delle firme del modello di funzione",
"l'identificatore non è valido per la dichiarazione di binding strutturato",
@@ -2900,8 +2900,8 @@
"nella definizione non è specificato alcun allineamento. Per la dichiarazione precedente era stato specificato un allineamento",
"la funzione predefinita non è disponibile perché i tipi a virgola mobile a 128 bit non sono supportati",
"lo spostamento a sinistra di un valore negativo può causare un comportamento indefinito",
"i designatori di matrice non sono standard in C++",
"i designatori concatenati non sono standard in C++",
"gli indicatori di matrice non sono standard in C++",
"gli indicatori concatenati non sono standard in C++",
"le combinazioni di inizializzatori designati e non designati non sono standard in C+++",
"gli inizializzatori non ordinati non sono standard in C++",
"un modello dell'operatore di valore letterale stringa deve includere un elenco di parametri del modello equivalente a '<typename T, T ...>'",
@@ -2913,7 +2913,7 @@
"l'argomento pragma STDC non è accettato in questa modalità",
"constexpr se le istruzioni sono una funzionalità di C++17",
"l'espansione del pacchetto non è consentita in un elenco di inizializzatori designati",
"non è assegnato alcun valore al designatore di campo",
"non è assegnato alcun valore all'indicatore di campo",
"un'unione può contenere al massimo un inizializzatore di campo",
"non è stato trovato alcun tipo std::%s valido (<compare> deve essere incluso)",
"tipi non validi (%t1 e %t2) per l'operatore predefinito <=>",
@@ -2928,29 +2928,29 @@
"non è stata trovata una posizione adatta per il punto di arresto dell'intestazione. Non è stato generato alcun file PCH IntelliSense.",
"non è possibile usare le direttive di riga in un file PCH. Non è stato generato alcun file PCH IntelliSense.",
"l'identificatore di limitazione non è valido",
"la funzione con limitazioni amp %nfd deve essere chiamata da una funzione con limitazioni amp",
"la funzione con restrizioni AMP %nfd deve essere chiamata da una funzione con restrizioni AMP",
"per la funzione %nfd1 sono presenti identificatori di limitazione non compatibili con la funzione chiamante %nfd2",
"nessun candidato all'overload contiene identificatori di limitazione corretti",
"%t non è consentito nella funzione con limitazioni amp %nfd",
"%t non è consentito nella funzione con restrizioni AMP %nfd",
"il tipo %t nel puntatore this per la funzione membro con limitazioni amp %nfd non è valido",
"il tipo restituito %t per la funzione con limitazioni amp %nfd non è valido",
"il tipo di parametro %t per la funzione con limitazioni amp %nfd non è valido",
"il tipo restituito %t per la funzione con restrizioni AMP %nfd non è valido",
"il tipo di parametro %t per la funzione con restrizioni AMP %nfd non è valido",
null,
"la classe di archiviazione %s nella funzione con limitazioni amp %nfd non è valida",
"%s non è consentito nella funzione con limitazioni amp %nfd",
"il cast nella funzione con limitazioni amp non è valido",
"la specifica di eccezione non è consentita nella funzione con limitazioni amp",
"il riferimento indiretto nella funzione con limitazioni amp %nfd non è valido",
"le chiamate di funzione virtuali non sono valide nella funzione con limitazioni amp %nfd",
"le chiamate di funzione indirette non sono valide nella funzione con limitazioni amp %nfd",
"la classe di archiviazione %s nella funzione con restrizioni AMP %nfd non è valida",
"%s non è consentito nella funzione con restrizioni AMP %nfd",
"il cast nella funzione con restrizioni AMP non è valido",
"la specifica di eccezione non è consentita nella funzione con restrizioni AMP",
"il riferimento indiretto nella funzione con restrizioni AMP %nfd non è valido",
"le chiamate di funzione virtuali non sono valide nella funzione con restrizioni AMP %nfd",
"le chiamate di funzione indirette non sono valide nella funzione con restrizioni AMP %nfd",
"la classe di archiviazione tile_static non è consentita in questo punto",
"l'etichetta nella funzione con limitazioni amp %nfd non è valida",
"il campo di bit per la funzione con limitazioni amp %nfd non è valido",
"i puntini di sospensione per la funzione con limitazioni amp %nfd non sono validi",
"l'etichetta nella funzione con restrizioni AMP %nfd non è valida",
"il campo di bit per la funzione con restrizioni AMP %nfd non è valido",
"i puntini di sospensione per la funzione con restrizioni AMP %nfd non sono validi",
"la base virtuale per il tipo compatibile amp %nfd non è valida",
"il riferimento esterno nella funzione con limitazioni amp %nfd non è valido",
"il valore della costante non è compreso nell'intervallo supportato nella funzione con limitazioni amp %nfd",
"il valore %s del pacchetto pragma per la funzione con limitazioni amp non è valido",
"il riferimento esterno nella funzione con restrizioni AMP %nfd non è valido",
"il valore della costante non è compreso nell'intervallo supportato nella funzione con restrizioni AMP %nfd",
"il valore %s del pacchetto pragma per la funzione con restrizioni AMP non è valido",
"gli identificatori di limitazione sovrapposti non sono consentiti",
"gli identificatori di limitazione del distruttore devono coprire l'unione degli identificatori di limitazione in tutti i costruttori",
null,
@@ -2961,8 +2961,8 @@
null,
"nelle funzioni \"C\" extern non sono supportati più identificatori di restrizione",
"il puntatore a funzioni membro, i puntatori a funzione, i riferimenti a funzioni con identificatore di limitazione 'amp' non sono consentiti",
"la classe di base, il membro dati o l'elemento di matrice deve presentare l'allineamento ad almeno 4 byte per la funzione con limitazioni amp %nfd",
"l'offset di un membro dati deve essere un multiplo dell'allineamento naturale per la funzione con limitazioni amp %nfd",
"la classe di base, il membro dati o l'elemento di matrice deve presentare l'allineamento ad almeno 4 byte per la funzione con restrizioni AMP %nfd",
"l'offset di un membro dati deve essere un multiplo dell'allineamento naturale per la funzione con restrizioni AMP %nfd",
null,
null,
null,
@@ -3116,15 +3116,15 @@
null,
null,
null,
null,
null,
"è previsto '>>>'",
"non è possibile trovare la dichiarazione di __cudaPushCallConfiguration. L'installazione del toolkit CUDA potrebbe essere danneggiata.",
"l'inizializzatore di tipo C++17 non è standard in questa modalità",
"l'acquisizione di *this non è standard in questa modalità",
"il prefisso dell'attributo di 'using' di tipo C++17 non è standard in questa modalità",
"gli spazi dei nomi annidati di tipo C++17 non sono standard in questa modalità",
"una dichiarazione non può contenere sia 'constexpr' che 'consteval'",
"una dichiarazione può contenere solo una tra le variabili 'constexpr', 'consteval' e 'constinit'",
"una funzione non può essere contemporaneamente consteval e virtual in questa modalità",
"'consteval' non è consentito in una direttiva di creazione dell'istanza esplicita",
"'consteval' non è consentito in una direttiva di creazione esplicita di un'istanza",
"'consteval' non è valido in questo punto",
"un distruttore non può essere consteval",
"il costruttore per una classe con basi virtuali non può essere consteval",
@@ -3137,7 +3137,7 @@
"il membro consteval non può eseguire l'override di %n non consteval",
"il membro non consteval non può eseguire l'override di %n consteval",
"binding strutturato",
"il dynamic_cast all'oggetto secondario di tipo %t1 non è valido (il tipo più derivato è %t2)",
"il dynamic_cast al sotto-oggetto di tipo %t1 non è valido (il tipo più derivato è %t2)",
"l'identificatore __VA_OPT__ può essere usato solo in elenchi di sostituzione di macro variadic",
"__VA_OPT__ non può essere presente in un operando __VA_OPT__",
"parentesi di chiusura mancante per __VA_OPT__",
@@ -3146,7 +3146,7 @@
"'##' non può essere l'ultimo elemento di un operando __VA_OPT__",
"gli spazi dei nomi inline annidati di tipo C++20 non sono standard in questa modalità",
"non è possibile convertire il puntatore alla classe di base %t2 nel puntatore alla classe derivata %t1. Verrà effettuato un tentativo di puntare oltre l'oggetto più derivato",
"l'oggetto temporaneo non è costante",
null,
"non è possibile usare 'main' come nome di variabile globale o collegamento a C specificato",
"non è possibile dichiarare la funzione 'main' in una specifica di collegamento",
"il binding strutturato non è consentito in una condizione",
@@ -3155,8 +3155,8 @@
"'return' non è consentito in questo punto",
"non è possibile combinare il binding strutturato con altri dichiaratori",
"non è possibile creare un ramo da un contesto di valutazione costante",
"i modelli di binding strutturati non sono consentiti",
"un inizializzatore tra parentesi deve essere un'espressione, non un elenco tra parentesi",
"i modelli di binding strutturato non sono consentiti",
"un inizializzatore tra parentesi deve essere un'espressione, non un elenco tra parentesi graffe",
"non è possibile dedurre gli argomenti del modello di classe",
"un operatore new o delete non può essere dichiarato come 'consteval'",
"in questo punto non è possibile usare l'indirizzo di una funzione consteval",
@@ -3166,11 +3166,11 @@
"l'attributo 'internal_linkage' non era presente in una dichiarazione precedente",
"non è stato trovato alcun candidato di deduzione dell'argomento di modello valido per %n",
"una chiamata al costruttore completo non è consentita",
"un operatore di confronto può essere impostato come predefinito solo in una definizione di classe",
"l'operatore di confronto impostato come predefinito deve essere un membro o un elemento friend della classe a cui si applica",
"il tipo %t per il parametro dell'operatore di confronto impostato come predefinito non è valido. Deve essere 'reference to const X' dove X è il tipo della classe contenitore",
"il tipo restituito dell'operatore di confronto impostato come predefinito deve essere 'bool'",
"un operatore di confronto membri impostato come predefinito non può essere 'const'",
"in questa classe sono stati definiti più operatori di confronto combinato impostati come predefiniti",
null,
"non è possibile impostare sia 'return_void' che 'return_value' per il tipo di promessa %t di una coroutine",
"'return_value' ha dichiarato %p",
"'return_void' ha dichiarato %p",
@@ -3188,7 +3188,190 @@
"gli operatori di confronto impostati come predefiniti non sono supportati per i campi di proprietà Microsoft non semplici",
"il tipo di confronto standard (%t) deve essere un tipo di classe con un singolo membro dati non statico di tipo integrale",
"non è stato trovato alcun membro dati statico constexpr %sq in %t",
"il numero di elementi (%d) è eccessivo per l'allocazione dinamica",
"la richiesta di allocazione dinamica constexpr è troppo estesa",
"deallocazione dello spazio di archiviazione non allocato in modo dinamico",
"le dimensioni della deallocazione (%d1) non corrispondono a quelle allocate (%d2)",
"l'allocazione si è verificata in questo punto",
"il tipo di deallocazione (%t1) non corrisponde al tipo di allocazione (%t2)",
"alcune allocazioni dinamiche (numero totale = %d) non sono state deallocate",
"l'oggetto %n intrinseco è stato dichiarato con una firma non prevista (tipo %t)",
">> output di std::__report_constexpr_value",
">> fine dell'output di std::__report_constexpr_value",
"non è possibile usare una matrice con dimensioni di matrice dipendenti nella valutazione di constexpr",
"il valore restituito dalla routine dichiarata con l'attributo 'nodiscard' verrà ignorato (%sq)",
"il tipo del valore restituito con l'attributo 'nodiscard' verrà ignorato (%sq)",
"al costruttore usato per creare un oggetto rimosso è associato l'attributo 'nodiscard'",
"al costruttore usato per creare un oggetto rimosso è associato l'attributo 'nodiscard' (%sq)",
"al tipo dell'oggetto rimosso è associato l'attributo 'nodiscard'",
"al tipo dell'oggetto rimosso è associato l'attributo 'nodiscard' (%sq)",
"un riferimento al pseudo-distruttore può essere usato solo per una chiamata di pseudo-distruttore",
"una chiamata di distruttore esplicita non è consentita in un'espressione costante",
"un operatore con virgola non racchiusa tra parentesi in un'espressione di indice di matrice è deprecato",
"il numero di elementi allocati dinamicamente (%d) è troppo ridotto per l'inizializzatore",
"un operando volatile per l'espressione %s è deprecato",
"l'utilizzo del risultato di un'assegnazione a un oggetto scalare volatile è deprecato",
"un tipo di destinazione volatile per un'espressione di assegnazione composta è deprecato",
"un parametro di funzione volatile è deprecato",
"un tipo restituito volatile è deprecato",
"l'uso di un qualificatore volatile su un binding strutturato è deprecato",
"il valore dell'argomento 'ext_vector_type' deve essere compreso tra 1 e 2047",
"l'attributo 'ext_vector_type' può essere usato solo in un elemento typedef",
"l'attributo 'ext_vector_type' si applica solo a tipi interi o a virgola mobile",
"questa macro di test delle funzionalità viene ignorata (e restituisce 0) nella modalità di compilazione corrente",
"non è possibile valutare un inizializzatore di aggregazione con più elementi per un'unione",
"l'elemento %nd selezionato per la riscrittura dell'operatore non restituisce il tipo bool",
"un'espressione expr.new che chiama una funzione di allocazione specifica della classe non può essere valutata in un'espressione costante",
"un'espressione new di posizionamento non può essere valutata in un'espressione costante",
"per l'eliminazione tramite un puntatore a sotto-oggetto è richiesto un distruttore virtuale",
"%npTd, con argomenti invertiti",
"l'operando di __INTADDR__ deve essere scostato dal puntatore Null",
"Il costrutto _generico corrisponde a più tipi",
"l'altra corrispondenza è %t",
"l'attributo 'availability' usato in questo punto viene ignorato",
"l'istruzione di inizializzatore di tipo C++20 in un'istruzione 'for' basata su intervallo non è standard in questa modalità",
"co_await può essere applicato solo a un'istruzione for basata su intervallo",
"non è possibile dedurre il tipo dell'intervallo nel ciclo 'for' basato su intervallo",
"le variabili inline sono una funzionalità di C++17",
"per l'eliminazione dell'operatore di eliminazione definitiva è necessario specificare %t come primo parametro",
"per l'eliminazione di un operatore di eliminazione definitiva non è possibile specificare parametri diversi da std::size_t e std::align_val_t",
"è possibile usare le opzioni di classe astratta di tipo relaxed solo quando si esegue la compilazione nel linguaggio C++",
"l'inizio dell'espressione non è valido nella clausola requires",
"un'espressione cast in una clausola requires deve essere racchiusa tra parentesi",
"non è possibile specificare questo operatore al primo livello (senza parentesi) in una clausola requires",
"il vincolo atomico deve essere di tipo bool",
"la sostituzione del vincolo atomico non è riuscita",
"il vincolo atomico non è costante",
"il vincolo atomico restituisce false",
"il vincolo del modello non è soddisfatto",
"la definizione del concetto non può essere presente in questo ambito",
"la ridichiarazione di %nd non è valida",
"la sostituzione degli argomenti %T per l'ID concetto non è riuscita",
"il concetto è false per gli argomenti %T",
"in questo punto non sono consentite clausole requires (non è una funzione basata su modelli)",
"modello di concetto",
"la clausola requires non è compatibile con %nfd",
"è previsto un attributo",
null,
"è previsto un nome di tipo",
"in un'espressione requires non sono consentiti parametri con puntini di sospensione",
"il parametro senza nome nell'espressione requires non ha alcun effetto",
"è previsto un nome di concetto",
"la chiamata a %s presente in un'espressione costante restituisce sempre 'true'",
"la chiamata a %s presente in un contesto consteval restituisce sempre 'true'",
"la chiamata a %s presente in una funzione non constexpr restituisce sempre 'false'",
"vincolo di tipo non riuscito per %t",
"non è possibile usare l'opzione 'export' in modalità in cui sono abilitati i moduli C++",
"una dichiarazione di frammento di modulo globale deve precedere qualsiasi altra dichiarazione",
"una dichiarazione di modulo può essere preceduta solo da un frammento di modulo globale",
"un frammento di modulo privato deve essere preceduto da una dichiarazione di modulo",
"non è possibile esportare un frammento di modulo %s",
"non è possibile dichiarare più di un modulo",
"non è possibile dichiarare più di un frammento di modulo %s",
"è necessario dichiarare un modulo con un nome non vuoto",
"%sq non è un'intestazione importabile",
"non è possibile importare un modulo senza nome",
"un modulo non può avere una dipendenza di interfaccia impostata su se stesso",
"il modulo %sq è già stato importato",
"file di modulo",
"non è stato possibile trovare il file di modulo %sq per l'importazione",
"non è stato possibile importare il file di modulo %sq"
"non è stato possibile trovare il file di modulo per il modulo %sq",
"non è stato possibile importare il file di modulo %sq",
"è previsto %s1, ma è stato trovato %s2",
"durante l'apertura del file di modulo %sq",
"il nome di partizione %sq è sconosciuto",
"un file di modulo sconosciuto",
"un file di modulo intestazione importabile",
"un file di modulo EDG",
"un file di modulo IFC",
"un file di modulo imprevisto",
"il tipo del secondo operando %t2 deve avere le stesse dimensioni di %t1",
"il tipo deve essere facilmente copiabile",
"il tipo %t non è attualmente supportato per la valutazione constexpr di __builtin_bit_cast",
"i tipi di classe con campi di bit %t non sono attualmente supportati per la valutazione constexpr di __builtin_bit_cast",
"il membro dati non statico del tipo riferimento %t impedisce la valutazione constexpr di __builtin_bit_cast",
"un tipo volatile %t impedisce la valutazione constexpr di __builtin_bit_cast",
"un tipo unione, puntatore o puntatore a membro %t impedisce la valutazione constexpr di __builtin_bit_cast",
"%npTd, ereditato tramite l'uso della dichiarazione %p",
"non è possibile costruire oggetti secondari di %t per ereditare costruttori. Il costruttore predefinito implicito è stato eliminato",
"%n deve restituire void",
"l'inizio della dichiarazione di membro non è valido",
"è previsto 'auto'",
"questo operatore non è consentito in questo punto. Racchiudere tra parentesi l'espressione new precedente",
"uso del concetto non valido",
"un operatore di confronto membri impostato come predefinito non può essere qualificato con '&&'",
"la funzione di confronto constexpr predefinita chiama la funzione non constexpr %nd",
"il confronto di memoria constexpr è supportato solo per gli oggetti intero o matrice di interi",
"un modello di concetto non può avere vincoli associati",
"'export' non è consentito",
"l'esportazione di singoli membri di classe non è consentita",
"una dichiarazione esportata deve introdurre un nome",
"una dichiarazione di esportazione non può contenere una dichiarazione di esportazione (dichiarazione precedente %p)",
"una dichiarazione di esportazione non può contenere una dichiarazione di importazione del modulo",
"una dichiarazione di esportazione può essere presente solo in un'unità di interfaccia del modulo",
"una dichiarazione di esportazione non può esportare un nome con collegamento interno",
"la dichiarazione using include %nfd",
"la funzione predefinita non è disponibile perché i tipi a virgola mobile __fp16 non sono supportati",
"un'espressione requires deve specificare almeno un requisito",
"'constinit' non è valida in questo punto",
"'constinit' è valida solo per dichiarazioni con durata di archiviazione del thread o statica",
"con la variabile constinit è richiesta l'inizializzazione dinamica",
"la variabile è stata dichiarata in precedenza con 'constinit' alla posizione %p",
"uso del dichiaratore di funzione non prototipo",
"l'argomento non può avere un tipo qualificato da const",
"non è consentito un puntatore a membro di un tipo incompleto %t",
"l'espansione del pacchetto in init-capture non è abilitata in questa modalità",
"l'espansione del pacchetto in init-capture è una funzionalità di C++20",
"un operatore di confronto impostato come predefinito in una definizione di classe deve essere la prima dichiarazione di tale operatore di confronto (%nd)",
"un'espansione di pacchetto in init-capture può essere usata solo in un modello variadic",
"il vincolo di tipo usa %nd che non è un concetto di tipo, ad esempio un modello di concetto il cui primo parametro è un parametro di tipo",
"il tipo di segnaposto dedotto %t non soddisfa il vincolo di tipo",
"il costruttore predefinito per %t non è idoneo",
"il distruttore per %t è ambiguo a causa di vincoli non ordinati",
"il distruttore per %t non è idoneo a causa di vincoli non soddisfatti",
"candidato di distruttore ambiguo",
"una funzione virtuale non può includere una clausola requires finale",
"%nd non soddisfa i vincoli",
"il risultato del qualificatore decltype %t non è una classe o un'enumerazione",
"il confronto è ambiguo in C++20 standard perché l'operatore di confronto implicito con parametri invertiti è una corrispondenza altrettanto valida. In genere questo problema dipende dalla mancanza di un qualificatore 'const' nell'operatore di confronto. Vedere %nod",
"ID concetto non valido",
"la sostituzione degli argomenti %T per la clausola requires non è riuscita",
"i vincoli per %nd non sono soddisfatti",
"il tipo di variabile %t nella funzione constexpr contiene classi di base virtuali",
"un'espressione costante non può allocare un sotto-oggetto di base virtuale (per il tipo %t)",
"un parametro di modello di tipo classe deve essere un tipo classe strutturale",
"per il supporto dei valori letterali UTF-8 è richiesto il supporto di valori letterali u",
"il mapping del file del modulo per '%s' è stato specificato più di una volta",
"il mapping dell'unità intestazione per '%s' è stato specificato più di una volta",
"non è stato specificato alcun mapping per '%s'",
"Il mapping del file del modulo per '%s' non è valido",
"non è possibile trovare l'intestazione '%s' da importare",
"più di un file nell'elenco file di modulo corrisponde a '%s'",
"il file di modulo trovato per '%s' è riferito a un modulo diverso",
"qualsiasi tipo di modulo",
"non è possibile leggere il file del modulo",
"la funzione predefinita non è disponibile perché il tipo char8_t non è supportato con le opzioni correnti",
"non è possibile specificare l'opzione della riga di comando --ms_await se le coroutine di C++20 sono abilitate",
"uso non standard del costruttore esplicito %nod per l'inizializzazione dell'elemento di aggregazione predefinito",
"l'origine o la destinazione dell'intrinseco simile a memcpy non punta a un oggetto",
"l'intrinseco simile a memcpy prova a copiare i tipi distinti dal punto di vista della rappresentazione %t1 e %t2",
"l'intrinseco simile a memcpy prova a copiare il tipo non facilmente copiabile %t",
"l'intrinseco simile a memcpy prova a copiare l'oggetto parziale",
"l'intrinseco simile a memcpy prova a copiare oltre il limite della matrice",
"l'intrinseco simile a memcpy prova a copiare intervalli di byte sovrapposti (usando invece l'operazione memmove corrispondente)",
"una dichiarazione friend con una clausola requires finale deve essere una definizione",
"l'espressione deve essere di tipo puntatore o aritmetico ma il tipo è %t",
"l'espressione deve essere di tipo aritmetico, enumerazione o puntatore ma il tipo è %t",
"l'espressione deve essere di tipo aritmetico, enumerazione senza ambito o puntatore ma il tipo è %t",
"l'espressione deve essere di tipo puntatore ma il tipo è %t",
"a %t è stato applicato l'operatore -> o ->* invece di un tipo puntatore",
"il tipo classe incompleto %t non è consentito",
"non è possibile interpretare il layout di bit per questa destinazione di compilazione",
"non esiste alcun operatore corrispondente per l'operatore IFC %sq",
"non esiste alcuna convenzione di chiamata corrispondente per la convenzione di chiamata IFC %sq",
"il modulo %sq contiene costrutti non supportati",
"costrutto IFC non supportato: %sq",
"__is_signed non è più una parola chiave a partire da questo punto",
"una dimensione di matrice deve avere un valore intero senza segno costante",
"il file IFC %sq ha una versione %d1.%d2 non supportata",
"i moduli non sono abilitati in questa modalità"
]
File diff suppressed because it is too large Load Diff
+284 -101
View File
@@ -74,7 +74,7 @@
null,
null,
null,
"'*'의 피연산자는 포인터여야 합니다.",
"'*'의 피연산자는 포인터여야 하는데 %t 형식이 있음",
"매크로에 대한 인수가 비어 있습니다.",
"이 선언에는 스토리지 클래스 또는 형식 지정자가 없습니다.",
"매개 변수 선언은 이니셜라이저를 가질 수 없습니다.",
@@ -130,8 +130,8 @@
"루프에 접근할 수 없습니다.",
"블록 범위 함수에는 외부 스토리지 클래스를 하나만 사용할 수 있습니다.",
"'{'가 필요합니다.",
"식에 클래스 포인터 형식이 있어야 합니다.",
"식에 구조체 포인터 또는 공용 구조체 포인터 형식이 있어야 합니다.",
"식에 클래스 포인터 형식이 있어야 하는데 %t 형식이 있음",
"식에 구조체 포인터 또는 공용 구조체 포인터 형식이 있어야 하는데 %t 형식이 있음",
"멤버 이름이 필요합니다.",
"필드 이름이 필요합니다.",
"%n에 %sq 멤버가 없습니다.",
@@ -141,7 +141,7 @@
"비트 필드의 주소를 가져올 수 없습니다.",
"함수 호출에 인수가 너무 많습니다.",
"본문이 있는 경우 명명되지 않은 프로토타입 매개 변수를 사용할 수 없습니다.",
"식에 개체 포인터 형식이 있어야 합니다.",
"식에 개체 포인터 형식이 있어야 하는데 %t 형식이 있음",
"프로그램이 너무 크거나 복잡하여 컴파일할 수 없습니다.",
"%t1 형식의 값을 사용하여 %t2 형식의 엔터티를 초기화할 수 없습니다.",
"%n을(를) 초기화할 수 없습니다.",
@@ -152,9 +152,9 @@
"형식 이름을 매개 변수로 다시 선언할 수 없습니다.",
"typedef 이름을 매개 변수로 다시 선언할 수 없습니다.",
"0이 아닌 정수를 포인터로 변환",
"식에 클래스 형식이 있어야 합니다.",
"식에 구조체 또는 공용 구조체 형식이 있어야 합니다.",
"더 이상 사용되지 않는 할당 연산자",
"식에 클래스 형식이 있어야 하는데 %t 형식이 있음",
"식에 구조체 또는 공용 구조체 형식이 있어야 하는데 %t 형식이 있음",
"더 이상 사용되지 않는 대입 연산자",
"더 이상 사용되지 않는 이니셜라이저",
"식은 정수 계열 상수 식이어야 합니다.",
"식은 lvalue 또는 함수 지정자여야 합니다.",
@@ -171,7 +171,7 @@
"선언이 필요합니다.",
"포인터가 내부 개체를 벗어난 범위를 가리킵니다.",
"잘못된 형식 변환입니다.",
"외부/내부 링크가 이전 선언과 충돌합니다.",
"외부/내부 연결이 이전 선언 %p과(와) 충돌함",
"부동 소수점 값이 필요한 정수 계열 형식에 맞지 않습니다.",
"의미 없는 식입니다.",
"첨자가 범위를 벗어났습니다.",
@@ -334,10 +334,10 @@
"%t 클래스에 const 개체를 복사할 복사 생성자가 없습니다.",
"암시적으로 선언되는 멤버 함수 정의는 허용되지 않습니다.",
"%t 클래스에 적절한 복사 생성자가 없습니다.",
"링크 사양을 사용할 수 없습니다.",
"알 수 없는 외부 링크 사양입니다.",
"링크 사양이 이전 %nod과(와) 호환되지 않습니다.",
"오버로드된 함수 %no의 인스턴스 중 두 개 이상에 'C' 링크가 있습니다.",
"연결 사양을 사용할 수 없습니다.",
"알 수 없는 외부 연결 사양입니다.",
"연결 사양이 이전 %nod과(와) 호환되지 않습니다.",
"오버로드된 함수 %no의 인스턴스 중 두 개 이상에 'C' 연결이 있습니다.",
"%t 클래스에 기본 생성자가 두 개 이상 있습니다.",
"임시로 복사된 값이 임시로 사용된 값을 참조합니다.",
"'operator%s'은(는) 멤버 함수여야 합니다.",
@@ -370,9 +370,9 @@
"%n이(가) 다음을 초기화하는 생성자를 정의하지 않습니다.",
"%n에 초기화되지 않은 상수 또는 참조 멤버가 있습니다.",
"%n에 초기화되지 않은 const 필드가 있습니다.",
"%t 클래스에 const 개체를 복사하기 위한 할당 연산자가 없습니다.",
"%t 클래스에 적절한 할당 연산자가 없습니다.",
"%t 클래스의 모호한 할당 연산자",
"%t 클래스에 const 개체를 복사하기 위한 대입 연산자가 없습니다.",
"%t 클래스에 적절한 대입 연산자가 없습니다.",
"%t 클래스의 모호한 대입 연산자",
null,
"선언에는 typedef 이름이 필요합니다.",
null,
@@ -392,11 +392,11 @@
"함수 'main'을 호출할 수 없거나 해당 주소를 가져올 수 없습니다.",
"배열에 대해 새 이니셜라이저를 지정할 수 없습니다.",
"멤버 함수 %no을(를) 해당 클래스 외부에서 다시 선언할 수 없습니다.",
"불완전한 클래스 형식에 대한 포인터는 사용할 수 없습니다.",
"불완전한 클래스 형식 %t에 대한 포인터는 사용할 수 없",
"바깥쪽 함수의 지역 변수에 대한 참조를 사용할 수 없습니다.",
"후위 %sq에 단일 인수 함수가 사용되었습니다(오래된 구문).",
null,
"암시적으로 생성된 할당 연산자를 복사할 수 없습니다.",
"암시적으로 생성된 대입 연산자를 복사할 수 없습니다.",
"배열 형식으로의 캐스트는 표준이 아닙니다(%t에 대한 캐스트로 처리됨).",
"%n에 operator new%s()이(가) 있지만 기본 operator delete%s()이(가) 없습니다.",
"%n에 기본 operator delete%s()이(가) 있지만 operator new%s()이(가) 없습니다.",
@@ -420,9 +420,9 @@
"%t에서 기본 제공 형식으로 적용되는 변환 함수가 두 개 이상입니다.",
"상수 %n",
"참조 %n",
"%npT",
"%npTd",
"기본 제공 연산자 %sq",
"%no(상속에 의해 모호함)",
"%nod, 상속에 의해 모호함",
"생성자 또는 소멸자가 해당 주소를 가져올 수 없습니다.",
null,
"비const 참조에 대한 초기 값으로 임시 사용(오래된 구문)",
@@ -552,7 +552,7 @@
"%n이(가) 설정되었지만 사용되지 않습니다.",
"현재 범위에서 %n을(를) 정의할 수 없습니다.",
"예외 사양이 허용되지 않습니다.",
"%nfd에 대해 외부/내부 링크가 충돌합니다.",
"%nfd에 대해 외부/내부 연결이 충돌합니다.",
"%nf은(는) 암시적 또는 명시적 변환에 대해 호출되지 않습니다.",
"%s 종류의 태그는 %t 형식의 템플릿 매개 변수와 호환되지 않습니다.",
"operator new(size_t)에 대한 함수 템플릿을 사용할 수 없습니다.",
@@ -633,7 +633,7 @@
"매핑된 메모리를 가져올 수 없습니다.",
"'%s': 미리 컴파일된 헤더 파일 '%s'을(를) 사용합니다.",
"'%s': 미리 컴파일된 헤더 파일 '%s'을(를) 만듭니다.",
"메모리 사용이 미리 컴파일된 헤더 파일 %sq과(와) 충돌합니다.",
"메모리 사용이 미리 컴파일된 헤더 파일 %sq과(와) 충돌합니다.",
"잘못된 PCH 메모리 크기: %s ",
"PCH 옵션은 명령줄에서 맨 앞에 표시되어야 합니다.",
"PCH 메모리 할당에 사용할 메모리가 부족합니다.",
@@ -799,7 +799,7 @@
null,
"'old_specializations' 옵션은 C++를 컴파일할 경우에만 사용할 수 있습니다.",
"'template<>' 구문 없이 %n을(를) 특수화하는 것은 표준이 아닙니다",
"이 선언에 외부 'C' 링크를 사용할 수 없습니다.",
"이 선언에 외부 'C' 연결을 사용할 수 없습니다.",
"%sq이(가) 현재 범위의 클래스 또는 함수 템플릿 이름이 아닙니다.",
"참조되지 않은 함수 템플릿을 다시 선언할 때 기본 인수를 지정하는 것은 표준이 아닙니다.",
"이미 참조된 함수 템플릿을 다시 선언할 때 기본 인수를 지정할 수 없습니다.",
@@ -891,7 +891,7 @@
"'vla' 옵션은 C를 컴파일할 경우에만 사용할 수 있습니다.",
"범위가 지정되지 않은 가변 길이 배열은 사용할 수 없습니다.",
"이 선언에서 명시적 템플릿 인수 목록을 사용할 수 없습니다.",
"링크가 포함된 엔터티에는 가변 길이 배열과 관련된 형식을 사용할 수 없습니다.",
"연결이 있는 엔터티에는 가변 길이 배열과 관련된 형식을 사용할 수 없습니다.",
"가변 길이 배열에는 정적 저장 기간을 사용할 수 없습니다.",
"%n이(가) 템플릿이 아닙니다.",
"가변 길이 배열 차원(%p(으)로 선언됨)",
@@ -960,8 +960,8 @@
"'extended_designators' 옵션은 C를 컴파일할 경우에만 사용할 수 있습니다.",
"비트 필드의 선언된 크기가 비트 필드 형식의 크기보다 크기 때문에 %s비트로 잘립니다.",
"생성자 이름으로 사용된 형식이 %t 형식과 일치하지 않습니다.",
"링크가 없는 형식을 사용하여 링크가 있는 변수를 선언합니다.",
"링크가 없는 형식을 사용하여 함수를 선언합니다.",
"연결이 없는 형식을 사용하여 연결이 있는 변수를 선언합니다.",
"연결이 없는 형식을 사용하여 함수를 선언합니다.",
"생성자에 반환 형식을 지정할 수 없습니다.",
"소멸자에 반환 형식을 지정할 수 없습니다.",
"유니버설 문자 이름의 형식이 잘못되었습니다.",
@@ -983,7 +983,7 @@
"변환 %np의 서로게이트 함수",
"인수 목록에 대해 %t 형식의 개체를 호출할 수 있는 방법이 두 가지 이상입니다.",
"typedef 이름이 유사한 형식으로 이미 선언되어 있습니다.",
"operator new 및 operator delete는 내부 링크에 지정할 수 없습니다.",
"operator new 및 operator delete는 내부 연결에 지정할 수 없습니다.",
"스토리지 클래스 'mutable'은 익명 공용 구조체에 사용할 수 없습니다.",
"미리 컴파일된 헤더 파일이 잘못되었습니다.",
"추상 클래스 형식 %t은(는) catch 형식으로 사용할 수 없습니다.",
@@ -1030,7 +1030,7 @@
"중첩된 클래스의 재선언이 잘못되었습니다.",
"크기를 알 수 없는 배열이 포함된 형식은 사용할 수 없습니다.",
"정적 저장 기간이 있는 변수는 인라인 함수 내에서 정의할 수 없습니다.",
"내부 링크가 있는 엔터티를 외부 링크가 있는 인라인 함수 내에서 참조할 수 없습니다.",
"내부 연결이 있는 엔터티를 외부 연결이 있는 인라인 함수 내에서 참조할 수 없습니다.",
"인수 형식 %t이(가) 이 형식의 제네릭 함수 매크로와 일치하지 않습니다.",
"가변 길이 배열 %nod",
"friend 선언이 이전 선언에 기본 인수를 추가할 수 없습니다.",
@@ -1198,7 +1198,7 @@
"숨겨진 선언은 %p입니다.",
"%nfd의 프로토타입 선언이 이 프로토타입화되지 않은 재선언 이후에 무시됩니다.",
null,
"%npd에는 외부 C 링크가 있어야 합니다.",
"%npd에는 외부 C 연결이 있어야 합니다.",
"변수 선언에서 for 이니셜라이저의 선언을 숨깁니다.",
"상세 형식 지정자에는 typedef %sq을(를) 사용할 수 없습니다.",
"0 상수 호출이 무시되었습니다.",
@@ -1229,7 +1229,7 @@
"statement 식으로 컨트롤을 전송할 수 없습니다.",
null,
"이 문은 statement 식 내부에서 사용할 수 없습니다.",
"statement 식 내부에서 비POD 클래스 정의를 사용할 수 없습니다.",
"일반적으로 복사할 수 없는 클래스는 statement 식 내부에서 정의할 수 없습니다.",
null,
"동적으로 초기화되는 지역 정적 변수는 statement 식 내부에서 사용할 수 없습니다.",
"가변 길이 배열은 statement 식 내부에서 사용할 수 없습니다.",
@@ -1256,7 +1256,7 @@
"%t의 크기나 복잡성으로 인해 내부 계산에서 정수 오버플로가 발생합니다.",
"내부 계산의 정수 오버플로",
"__w64는 int, long 및 포인터 형식에만 지정할 수 있습니다.",
"int, long 또는 포인터 형식이 64비트 크기인 환경에서 컴파일한 경우 변환 범위가 좁혀질 수 있습니다.",
"int, long 또는 포인터 형식이 64비트 크기인 환경에서 컴파일한 경우 변환이 축소될 수 있습니다.",
"pragma pack의 현재 값은 %s입니다.",
"pragma pack(show)의 인수가 무시됩니다.",
null,
@@ -1289,8 +1289,8 @@
"const 한정자가 무시되었습니다.",
null,
"GNU asm 한정자가 잘못되었습니다.",
"가변 매개 변수(...)를 통해 비POD 클래스 형식이 전달되었습니다.",
"비POD 클래스 형식은 va_arg 페치할 수 없습니다.",
"일반적으로 복사할 수 없는 클래스 형식이 가변 매개 변수(...)를 통해 전달되었습니다.",
"일반적으로 복사할 수 없는 클래스 형식은 va_arg를 통해 페치할 수 없습니다.",
"'u' 또는 'U' 접미사는 고정 소수점 리터럴의 'l' 또는 'L' 접미사 앞에 와야 합니다.",
"'fixed_point' 옵션은 C를 컴파일할 경우에만 사용할 수 있습니다.",
"정수 피연산자로 인해 고정 소수점 오버플로가 발생할 수 있습니다.",
@@ -1358,17 +1358,17 @@
"요소에 nontrivial 소멸자가 있는 유연한 배열 멤버에 이니셜라이저를 지정할 수 없습니다.",
"유연한 간접 배열 멤버에 이니셜라이저를 지정할 수 없습니다.",
"잘못된 GNU 버전 번호: %s",
"괄호로 묶 이니셜라이저 다음에 나타나는 변수 특성은 무시됩니다.",
"괄호로 묶 이니셜라이저 다음에 나타나는 변수 특성은 무시됩니다.",
"이 캐스트의 결과를 lvalue로 사용할 수 없습니다.",
"부호 없는 고정 소수점 값의 부정",
"이 지점에 이 연산자를 사용할 수 없습니다. 괄호를 사용하십시오.",
null,
null,
"레지스터 이름은 레지스터 변수에만 사용할 수 있습니다.",
"명명된 레지스터 변수에는 void 형식을 사용할 수 없습니다.",
null,
"매개 변수에는 링크 범위 지정자를 사용할 수 없습니다.",
"링크 범위 지정자가 여러 개입니다.",
"링크 범위 지정자는 외부 링크가 있는 함수와 변수에만 표시될 수 있습니다.",
"링크 범위 지정자는 외부 연결이 있는 함수와 변수에만 표시될 수 있습니다.",
"재선언으로 링크 범위를 약하게 만들 수 없습니다.",
"이 선언에는 링크 범위 지정자를 사용할 수 없습니다.",
"전역 범위 선언의 비표준 정규화된 이름입니다.",
@@ -1391,10 +1391,10 @@
"재선언에서 dllexport/dllimport를 %nod에 추가할 수 없습니다.",
"dllexport/dllimport가 %nod과(와) 충돌합니다. dllexport로 간주됩니다.",
"dllimport 엔터티를 정의할 수 없습니다.",
"dllexport/dllimport에는 외부 링크가 필요합니다.",
"dllexport/dllimport에는 외부 연결이 필요합니다.",
"dllexport/dllimport로 선언된 클래스의 멤버가 같은 지정자를 사용하여 자신을 선언할 수 없습니다.",
"DLL 인터페이스가 없는 클래스 형식의 필드가 DLL 인터페이스가 있는 클래스에 사용되었습니다.",
"괄호로 묶 멤버 선언은 표준이 아닙니다.",
"괄호로 묶 멤버 선언은 표준이 아닙니다.",
"줄 연결에서 백슬래시와 줄 바꿈 사이의 공백은 무시됩니다.",
"dllexport/dllimport가 %nod과(와) 충돌합니다. dllimport/dllexport가 삭제되었습니다.",
"익명 멤버 클래스의 잘못된 멤버 -- %t 클래스에 허용되지 않는 멤버 함수가 있습니다.",
@@ -1406,7 +1406,7 @@
"%t 형식의 멤버에 대한 포인터에서 가변 길이 배열 형식을 사용할 수 없습니다.",
"statement 식의 결과에는 가변 길이 배열과 관련된 형식을 사용할 수 없습니다.",
"trigraphs에 대한 지원이 비활성화되어 있습니다.",
"%sq 특성은 외부 링크가 있는 함수와 변수에만 표시될 수 있습니다.",
"%sq 특성은 외부 연결이 있는 함수와 변수에만 표시될 수 있습니다.",
"strict 모드가 std 네임스페이스를 전역 네임스페이스에 대한 별칭으로 처리하는 방식과 호환되지 않습니다.",
"매크로 '%s' %p의 확장,",
"<알 수 없음>",
@@ -1426,7 +1426,7 @@
"offsetof의 두 번째 피연산자는 필드여야 합니다.",
"offsetof의 두 번째 피연산자는 비트 필드일 수 없습니다.",
"가상 기본의 멤버에 offsetof를 적용할 수 없습니다",
"비POD 형식에 적용된 offsetof 표준이 아닙니다.",
"offsetof 표준 레이아웃 클래스가 아닌 형식에 적용되었습니다.",
"멤버 함수의 friend 선언에는 기본 인수를 사용할 수 없습니다.",
"정의가 아닌 friend 선언에는 기본 인수를 사용할 수 없습니다.",
"이전에 선언된 %nd을(를) 기본 인수가 포함된 friend로 재선언할 수 없습니다.",
@@ -1535,7 +1535,7 @@
"다시 정의할 수 없는 값이 잘못되었습니다.",
"중복된 함수 한정자",
"char16_t 리터럴에 대한 잘못된 문자",
"__LPREFIX를 char8_t, char16_t 또는 char32_t 리터럴에 적용할 수 없습니다.",
null,
"인식할 수 없는 호출 규칙 %s, 다음 중 하나여야 함:",
null,
null,
@@ -1555,14 +1555,14 @@
"비어 있는 비표준 와이드 문자 리터럴을 L'\\0'(으)로 처리했습니다.",
"여기에는 'typename'을 지정할 수 없습니다.",
"비배치 operator delete는 가상 소멸자가 있는 클래스에서 표시되어야 합니다.",
"이름 링크가 이전 %nd 선언과 충돌합니다.",
"이름 연결이 이전 %nd 선언과 충돌합니다.",
"별칭에서 별칭이 지정된 엔터티의 순환을 만듭니다.",
null,
"특정 레지스터에 할당된 정적 저장 기간이 있는 변수를 이니셜라이저로 선언할 수 없습니다.",
"특정 레지스터에 할당된 변수는 POD 형식을 가져야 합니다.",
"특정 레지스터에 할당된 변수는 일반적으로 복사 가능해야 합니다.",
"%no에 미리 정의된 의미가 삭제되었습니다.",
null,
"지정자가 비POD 하위 개체를 지정할 수 없습니다.",
"클래스 형식이 지정자와 함께 사용하기에 적합하지 않습니다.",
null,
"익명 공용 구조체 한정자는 표준이 아닙니다.",
"익명 공용 구조체 한정자가 무시되었습니다.",
@@ -1578,7 +1578,7 @@
"필드 이름이 두 개 이상의 오프셋을 확인합니다. %nod1 및 %nod2을(를) 참조하십시오.",
"%sq이(가) 필드 이름이 아닙니다.",
"이 스위치 %p에 case 레이블 값이 이미 있습니다.",
"멤버 함수에는 내부 링크를 사용할 수 없습니다.",
"멤버 함수에는 내부 연결을 사용할 수 없습니다.",
"선언이 기본 제공 %n을(를) 숨깁니다.",
"선언이 기본 제공 %n을(를) 오버로드합니다.",
"두 개 이상의 변환 단위를 컴파일할 때에는 매크로 정의를 나열하는 옵션을 지정할 수 없습니다.",
@@ -1634,11 +1634,11 @@
"__sptr 및 __uptr을 함께 지정할 수 없습니다.",
"%t1에서 %t2(으)로의 확대 포인터 변환은 부호 비트를 확장합니다.",
"__sptr 및 __uptr은 멤버 포인터 형식에 적용되지 않습니다.",
"%n이(가) const이기 때문에 %t에 대한 복사 할당 연산자 선언이 표시되지 않았습니다.",
"%n이(가) const이기 때문에 %t에 대한 복사 대입 연산자 선언이 표시되지 않았습니다.",
null,
"%t2의 선언이 표시되지 않았기 때문에 %t1에 대한 복사 할당 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언이 모호하기 때문에 %t1에 대한 복사 할당 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언에 액세스할 수 없기 때문에 %t1에 대한 복사 할당 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언이 표시되지 않았기 때문에 %t1에 대한 복사 대입 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언이 모호하기 때문에 %t1에 대한 복사 대입 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언에 액세스할 수 없기 때문에 %t1에 대한 복사 대입 연산자 선언이 표시되지 않았습니다.",
"%t2의 선언이 표시되지 않았기 때문에 %t1에 대한 복사 생성자 선언이 표시되지 않았습니다.",
"%t2의 선언이 모호하기 때문에 %t1에 대한 복사 생성자 선언이 표시되지 않았습니다.",
"%t2의 선언에 액세스할 수 없기 때문에 %t1에 대한 복사 생성자 선언이 표시되지 않았습니다.",
@@ -1657,7 +1657,7 @@
"%n을(를) 해당 정의 %p 다음에 인라인으로 선언할 수 없습니다.",
null,
null,
"템플릿 인수는 이름 링크가 없는 형식을 참조할 수 없습니다.",
"템플릿 인수는 이름 연결이 없는 형식을 참조할 수 없습니다.",
"여기서는 'virtual'이 무시됩니다.",
"템플릿 인수는 가변 길이 배열 형식을 참조할 수 없습니다.",
"유니버설 문자 이름은 서로게이트 코드 포인트를 지정할 수 없습니다.",
@@ -1670,7 +1670,7 @@
"생성자 또는 소멸자에서 형식 한정자를 사용할 수 없습니다.",
"operator new 또는 operator delete에서 형식 한정자를 사용할 수 없습니다.",
"비멤버 함수에서 형식 한정자를 사용할 수 없습니다.",
"파생 효과가 있는 __assume 식이 무시되었습니다.",
"%s에 대한 인수는 파생 작업이 있지만 계산되지 않음",
"인식할 수 없는 유니코드 소스 종류(UTF-8, UTF-16, UTF-16LE, UTF-16BE 중 하나여야 함): %s",
"16진수 값 %s의 유니코드 문자를 전처리 출력에서 표현할 수 없습니다.",
"요청된 생성자/소멸자 우선 순위는 내부용으로 예약되어 있습니다.",
@@ -1739,7 +1739,7 @@
"현재 함수 범위 바깥쪽에 있는 지역 변수를 캡처할 수 없습니다.",
"바깥쪽 함수 'this'는 캡처 목록에 있지 않는 한 람다 본문에서 참조할 수 없습니다.",
null,
"%t1 형식의 람다 캡처 변수를 %t2 형식의 closure class 필드로 복사할 수 없습니다.",
"%t1 형식의 람다 캡처 변수를 %t2 형식의 closure class 필드로 복사할 수 없습니다.",
"잘못된 템플릿 디렉터리: %s",
"오류",
"오류",
@@ -1771,9 +1771,9 @@
"비형식 템플릿 매개 변수에는 rvalue 참조 형식을 사용할 수 없습니다.",
"형식 한정자가 무시되었습니다(내부 형식은 참조임).",
"지역 형식을 사용하여 선언된 %n은(는) 이 변환 단위에서 정의되어야 합니다.",
"링크가 없는 형식을 사용하여 선언된 %n은(는) 이 변환 단위에서 정의되어야 합니다.",
"연결이 없는 형식을 사용하여 선언된 %n은(는) 이 변환 단위에서 정의되어야 합니다.",
"rvalue 참조 dynamic_cast의 피연산자는 완전한 클래스 형식을 사용해야 합니다.",
"'= default'는 기본 생성자, 복사/이동 생성자, 복사/이동 할당 연산자 및 소멸자에만 표시될 수 있습니다.",
"'= default'는 기본 생성자, 복사/이동 생성자, 복사/이동 대입 연산자 및 소멸자에만 표시될 수 있습니다.",
"'= delete'는 함수의 첫 번째 선언에만 표시될 수 있습니다.",
"%npd을(를) 참조할 수 없습니다. 삭제된 함수입니다.",
"람다는 계산되지 않은 식에 사용할 수 없습니다.",
@@ -1805,7 +1805,7 @@
"forScope 동작이 표준입니다.",
"함수 'main'은 삭제할 수 없습니다.",
"여기서는 형식 한정자가 의미가 없습니다.",
"기본 할당 연산자에 대한 형식이 잘못되었습니다.",
"기본 대입 연산자에 대한 형식이 잘못되었습니다.",
"함수 템플릿은 기본값이 될 수 없습니다.",
"기본값으로 설정된 생성자에 대한 형식이 잘못되었습니다.",
"함수 호출에 하나의 인수가 필요합니다.",
@@ -1819,7 +1819,7 @@
"main'에 대한 비표준 매개 변수 개수, 매개 변수가 없거나 두 개여야 합니다.",
"'main'의 비표준 두 번째 매개 변수 %t, 'char *[]' 또는 'char **'이 필요합니다.",
"%sq이(가) 시스템 및 비시스템 include 디렉터리로 지정되었습니다. 비시스템 항목이 무시됩니다.",
"이동 생성자와 이동 할당 연산자를 제어하는 옵션은 C++를 컴파일할 경우에만 사용할 수 있습니다.",
"이동 생성자와 이동 대입 연산자를 제어하는 옵션은 C++를 컴파일할 경우에만 사용할 수 있습니다.",
null,
null,
"후행 반환 형식에는 'auto' 형식 지정자가 필요합니다.",
@@ -1862,7 +1862,7 @@
"%sq 특성이 비정적 멤버 함수에 적용되지 않습니다.",
"%sq 특성이 자동 변수에 적용되지 않습니다.",
"%sq 특성에 자동 변수가 필요합니다.",
"%sq 특성이 외부 링크가 있는 함수 또는 변수에 적용되지 않습니다.",
"%sq 특성이 외부 연결이 있는 함수 또는 변수에 적용되지 않습니다.",
"%sq 특성에 지역 변수가 필요합니다.",
"여기서는 특성이 무시됩니다.",
"특성이 어떠한 엔터티에도 적용되지 않습니다.",
@@ -1896,7 +1896,7 @@
"using 선언 %p에 의해 참조되는 선언에 'hiding' 특성이 지정되었습니다.",
"%nd을(를) 숨기는 선언의 'base_check' 클래스에 'hiding' 특성이 필요합니다.",
"%n은(는) 이 변환 단위에 정의되어 있지 않지만 지역 형식에 종속됩니다.",
"%n은(는) 이 변환 단위에 정의되어 있지 않지만 링크가 없는 형식에 종속됩니다.",
"%n은(는) 이 변환 단위에 정의되어 있지 않지만 연결이 없는 형식에 종속됩니다.",
"다른 변환 단위에 %sq 특성이 없습니다.",
"%sq 특성이 다른 변환 단위와 충돌합니다.",
"'nonstd_gnu_keywords' 옵션은 GNU C 및 GNU C++ 모드에서만 사용할 수 있습니다.",
@@ -2084,7 +2084,7 @@
"값 클래스에는 복사 생성자를 선언할 수 없습니다.",
"값 클래스에는 기본 생성자를 선언할 수 없습니다.",
"값 클래스에는 소멸자를 선언할 수 없습니다.",
"값 클래스에는 할당 연산자를 선언할 수 없습니다.",
"값 클래스에는 대입 연산자를 선언할 수 없습니다.",
"값이 아닌 클래스 %t은(는) 값 클래스 멤버의 형식일 수 없습니다.",
"'cppcli' 옵션에는 다른 컴파일러 구성이 필요합니다.",
"%[managed] 클래스의 멤버 함수에는 예외 사양을 사용할 수 없습니다.",
@@ -2100,7 +2100,7 @@
"이 팩 확장이 둘 이상의 식을 생성했습니다. 여기에는 단일 식이 필요합니다.",
"형식은 System::Boolean, System::Byte, System::SByte, System::Int16, System::UInt16, System::Int32, System::UInt32, System::Int64 또는 System::UInt64에 해당해야 합니다.",
"적절한 operator() 또는 함수 포인터 형식에 대한 변환 함수가 없는 핸들 형식의 개체에 대한 호출입니다.",
"명명되지 않은 매개 변수 팩 선언은 괄호로 묶 수 없습니다.",
"명명되지 않은 매개 변수 팩 선언은 괄호로 묶 수 없습니다.",
"variadic 템플릿은 C++를 컴파일할 경우에만 사용할 수 있습니다.",
"속성 정의가 %nd과(와) 충돌합니다.",
"오버로드된 속성",
@@ -2116,7 +2116,7 @@
null,
"'for each' 문에서 %t2은(는) 유효한 열거자가 아닙니다(%t1의 'GetEnumerator'에서 반환됨).",
"'in'이 필요합니다.",
"%t 클래스에 적절한 할당 연산자가 없습니다(연산자 통합 후).",
"%t 클래스에 적절한 대입 연산자가 없습니다(연산자 통합 후).",
"%sq은(는) 제네릭 매개 변수가 아닙니다.",
"%sq은(는) 가장 안쪽에 있는 제네릭 매개 변수 목록의 제네릭 매개 변수가 아닙니다.",
"제네릭 제약 조건이 잘못되었습니다.",
@@ -2167,7 +2167,7 @@
"대리자 이니셜라이저가 잘못되었습니다. '(<function-address>)' 또는 '(<object-handle>, <member-address>)'가 필요합니다.",
"클래스가 인터페이스 멤버 %nd을(를) 구현하지 못합니다.",
"네이티브 배열을 할당하는 데 %[gcnew]을(를) 사용할 수 없습니다.",
"%[C++/CLI] 인터페이스 클래스는 할당 연산자를 선언할 수 없습니다.",
"%[C++/CLI] 인터페이스 클래스는 대입 연산자를 선언할 수 없습니다.",
"%[C++/CLI] 인터페이스 클래스는 sealed가 될 수 없습니다.",
null,
"소멸자 또는 종료자 선언에는 명명된 재정의 지정자를 포함할 수 없습니다.",
@@ -2207,8 +2207,8 @@
"initonly 필드는 포함하는 해당 클래스의 인스턴스 생성자에 의해서만 수정될 수 있습니다.",
"정적 initonly 필드는 포함하는 해당 클래스의 정적 생성자에 의해서만 수정될 수 있습니다.",
"멤버 함수는 initonly 필드의 복사본에서 호출됩니다.",
"식에 포인터 또는 핸들 형식이 있어야 합니다.",
"이동 생성자 또는 이동 할당 연산자를 사용하여 여기에서 lvalue를 복사할 수 있습니다. 이렇게 하면 소스 개체가 제거될 수 있습니다.",
"식에 포인터 또는 핸들 형식이 있어야 하는데 %t 형식이 있음",
"이동 생성자 또는 이동 대입 연산자를 사용하여 여기에서 lvalue를 복사할 수 있습니다. 이렇게 하면 소스 개체가 제거될 수 있습니다.",
"%[C++/CLI] 제네릭 엔터티의 멤버 선택에는 '.'가 아니라 '->' 구문을 사용해야 합니다.",
"ref 클래스 형식은 %t에서 파생될 수 없습니다.",
"제네릭 클래스는 %[managed](예: ref 클래스, 값 클래스 또는 인터페이스 클래스)여야 합니다.",
@@ -2241,7 +2241,7 @@
"핸들의 안전하지 않은 reinterpret_cast",
"템플릿 인수는 제네릭 형식 매개 변수를 참조할 수 없습니다.",
"이 구독 작업에서는 식 목록을 사용할 수 없습니다(최상위 쉼표 연산자를 괄호로 묶기).",
"식 개체 포인터 또는 %[C++/CLI] 배열 형식에 대한 핸들이어야 합니다.",
"식 개체 포인터 또는 %[C++/CLI] 배열 핸들 형식이 있어야 하는데 %t 형식이 있음",
"인식할 수 없는 특성",
"%[managed] 클래스의 멤버는 비 %[managed] 클래스 형식일 수 없습니다.",
"비 %[managed] 클래스의 멤버는 ref 클래스 형식 또는 인터페이스 클래스 형식일 수 없습니다.",
@@ -2261,7 +2261,7 @@
"이 'for each' 문의 반복기 형식이 포인터 형식 또는 반복기와 유사한 클래스 형식이 아닌 %t입니다.",
"이 'for each' 문의 반복기 형식이 포인터 형식 또는 반복기와 유사한 클래스 형식이 아닌 %t입니다.",
"이 'for each' 문의 반복기 형식이 포인터 형식 또는 반복기와 유사한 클래스 형식이 아닌 %t입니다.",
"비POD 형식 %t의 이 필드에 대해 부모 형식의 압축 특성이 무시됩니다.",
"표준 레이아웃이 아닌 클래스 형식 %t의 이 필드에 대해 부모 형식의 압축 특성이 무시됩니다.",
"이 선언이 public이 아니고 명명된 재정의 지정자가 없으므로 %nd이(가) 구현되지 않았습니다.",
"이 선언에는 이전 선언 %p에 지정된 gnu_inline 특성이 없습니다.",
"%[managed] 클래스의 멤버 함수에는 가변 매개 변수(...)를 사용할 수 없습니다.",
@@ -2354,10 +2354,10 @@
"#include <initializer_list>는 std::initializer_list의 사용(암시적 사용 포함) 전에 필요합니다.",
"'inline' 키워드는 네임스페이스 별칭 선언에 사용할 수 없습니다.",
"%n의 이전 선언이 인라인으로 선언되지 않았습니다.",
"인라인 %n의 재선언은 인라인으로 선언되어야 합니다.",
"%n이(가) 이전에 인라인으로 선언",
"첫 번째 인수는 정수 상수여야 합니다.",
"지정자는 비집계 형식 %t과(와) 함께 사용할 수 없습니다.",
"익명 공용 구조체 멤버는 익명 공용 구조체에 해당하는 중괄호 내에만 표시될 수 있습니다.",
"익명 공용 구조체 멤버의 지정자는 익명 공용 구조체에 해당하는 중괄호 내에만 표시될 수 있습니다.",
"함수 프로토타입 태그는 C를 컴파일할 경우에만 사용할 수 있습니다.",
"이 하위 개체 이니셜라이저에 대한 중괄호는 생략할 수 없습니다.",
"%t1에서 %t2(으)로의 축소 변환이 잘못되었습니다.",
@@ -2389,7 +2389,7 @@
"constexpr 함수에는 return 문이 하나만 있어야 합니다.",
"constexpr 함수에는 문을 사용할 수 없습니다.",
"constexpr 생성자에는 문을 사용할 수 없습니다.",
"함수는 constexpr이면서 virtual일 수 없습니다.",
"이 모드에서 함수가 동시에 constexpr virtual일 수 없습니다.",
"constexpr 함수에는 비리터럴 반환 형식 %t을(를) 사용할 수 없습니다.",
"constexpr 함수에는 비리터럴 형식 %t의 매개 변수를 사용할 수 없습니다.",
"식에서 %n을(를) 비순차적으로 사용하면 정의되지 않은 결과가 생성될 수 있습니다.",
@@ -2435,7 +2435,7 @@
"constexpr 생성자는 직접 기본 클래스 %t을(를) 초기화해야 합니다.",
"기본 배열이 전체 식의 끝에서 삭제되므로 필드 이니셜라이저에서 std::initializer_list 개체 만들기가 올바르게 작동하지 않을 가능성이 있습니다.",
"'this'는 상수 식에 사용할 수 없습니다.",
"이 공용 구조체 형식에는 빈 이니셜라이저를 사용할 수 없습니다(초기화해야 하는 멤버가 모호함).",
null,
"'constexpr'은 명시적 인스턴스화 지시문에서 사용할 수 없습니다.",
"순환 종속성으로 인해 기본 생성자의 예외 사양을 확인할 수 없습니다.",
"익명 공용 구조체 정의 %p",
@@ -2450,7 +2450,7 @@
"ref-qualifier를 여기에 사용할 수 없습니다.",
"매개 변수 형식이 같은 멤버 함수 두 개를 오버로드하려면 둘 다 ref-qualifier가 있거나 둘 다 ref-qualifier가 없어야 합니다.",
"원시 문자열 구분 기호의 문자가 잘못됐습니다.",
"16자 에 원시 문자열 구분 기호를 종료하는 괄호를 찾을 수 없습니다. 원시 문자열 표시기가 무시됩니다.",
"16자 이내에 원시 문자열 구분 기호를 종료하는 괄호 없습니다. 원시 문자열 표시기가 무시됩니다.",
"원시 문자열의 종료 구분 기호를 찾을 수 없습니다.",
"매개 변수 팩은 부분 특수화의 최종 템플릿 인수여야 합니다.",
"형식이 %t인 멤버 포인터 함수는 lvalue 개체와만 사용할 수 있습니다.",
@@ -2474,7 +2474,7 @@
"%t에 대한 한정자가 잘못되었습니다(여기에는 파생 클래스를 사용할 수 없음).",
"'always_inline' 특성이 인라인 함수가 아닌 함수에서 무시되었습니다.",
"상속 생성자는 직접 기본 클래스에서 상속되어야 합니다.",
"%np이(가) 이미 %t에서 상속되었습니다.",
null,
"레이블이 필요합니다.",
"'%%l' 다음에는 피연산자 숫자가 필요합니다.",
"'%%l'의 피연산자 숫자가 올바른 레이블 인수를 참조하지 않습니다.",
@@ -2488,7 +2488,7 @@
"사용자 정의 리터럴 연산자가 없습니다.",
"모호한 리터럴 연산자 및/또는 리터럴 연산자 템플릿:",
"리터럴 연산자는 클래스의 멤버일 수 없습니다.",
"리터럴 연산자에는 extern 'C' 이름 링크가 포함될 수 없습니다.",
"리터럴 연산자에는 extern 'C' 이름 연결이 포함될 수 없습니다.",
"리터럴 연산자에는 매개 변수가 하나 이상 있어야 합니다.",
"이 리터럴 연산자의 매개 변수가 너무 많습니다.",
"리터럴 연산자의 매개 변수 형식 %t이(가) 잘못되었습니다.",
@@ -2507,7 +2507,7 @@
"스레드 로컬 변수의 특성이 무시됩니다.",
"사용자 제공 리터럴 접미사는 '_'으로 시작해야 합니다.",
"rvalue 참조는 C++11 기능입니다.",
"lambda 식은 C++11 기능입니다.",
"람다 식은 C++11 기능입니다.",
"표준 특성 구문은 C++11 기능입니다.",
"위임 생성자는 C++11 기능입니다.",
"상속 생성자는 C++11 기능입니다.",
@@ -2515,7 +2515,7 @@
"삭제된 함수는 C++11 기능입니다.",
"기본값으로 설정된 함수는 C++11 기능입니다.",
"스토리지 클래스는 명시적 특수화에 사용할 수 없습니다.",
"%t은(는) 클래스 또는 범위가 지정된 열거형이 아닙니다.",
null,
"특수화하려면 범위가 지정되지 않은 열거형이 불투명해야 합니다.",
"열거형 템플릿 선언은 이전에 선언된 클래스 템플릿의 멤버를 참조해야 합니다.",
"벡터 피연산자가 필요합니다.",
@@ -2669,10 +2669,10 @@
"생성자 또는 소멸자는 코루틴일 수 없습니다.",
"%n은(는) 코루틴일 수 없습니다.",
"catch 절에서는 co_yield 식이 허용되지 않습니다.",
"constexpr 함수에서는 co_yield 식이 허용되지 않습니다.",
"이 co_await 식에 인수 목록과 일치하는 %no 인스턴스가 없습니다.",
"이 co_await 식에 적합한 %sq 함수가 필요하지만 검색되지 않습니다.",
"promise 형식 %t에 멤버 함수 'return_value' 또는 'return_void'가 없기 때문에 co_await 식이 허용되지 않습니다.",
null,
null,
null,
null,
"%sq 클래스 템플릿이 없음",
"'typename' 키워드를 사용하여 %n을(를) 종속 컨텍스트에서 형식으로 취급",
"인수 값이 벡터 요소의 합계보다 작아야 함",
@@ -2682,7 +2682,7 @@
"co_await 식은 catch 절 내부에 허용되지 않습니다.",
"코루틴에는 가변 매개 변수(...)가 있을 수 없습니다.",
"C++14-style constexpr을 사용하려면 'bool'을 지원해야 합니다.",
"constexpr 함수 %nd이(가) 정의되지 않았습니다.",
"constexpr %nd이(가) 정의되지 않",
"대상 함수 %nd이(가) constexpr이 아니거나 아직 완전히 정의되지 않아 이 호출을 확인할 수 없습니다.",
"참고",
"참고",
@@ -2701,7 +2701,7 @@
"%d개 요소의 배열 끝에서 한 위치 이전에 있는 스토리지에 액세스하려고 합니다.",
"만료된 스토리지에 액세스하려고 합니다.",
"런타임 스토리지에 액세스하려고 합니다.",
"try-block을 실행할 수 없습니다.",
null,
"constexpr이 아닌 %nd을(를) 호출할 수 없습니다.",
"constexpr 평가 중 가변 길이 배열을 사용할 수 없습니다.",
"음의 이동을 수행할 수 없습니다.",
@@ -2737,8 +2737,8 @@
"첫 번째 배열 요소 앞에 포인터를 설정할 수 없습니다.",
"추론된 반환 형식의 코루틴이 잘못되었습니다.",
"확인되지 않은 컨텍스트에서는 식이 허용되지 않습니다.",
"yield_value는 void 형식을 생성합니다.",
"yield_value는 값(형식 %t)을 생성하지만 이 값은 추론된 반환 형식이 있는 코루틴에서 허용되지 않습니다.",
null,
null,
"코루틴에서는 'return'이 허용되지 않습니다(대신 'co_return' 사용).",
"'co_return'은 코루틴에서만 허용됩니다.",
"부동 소수점 값은 비교할 수 없습니다.",
@@ -2748,7 +2748,7 @@
"복합 또는 가상 템플릿 매개 변수 형식은 표준이 아닙니다.",
"함수 범위 밖에서는 co_yield 식이 허용되지 않습니다.",
"익명 공용 구조체에서는 스레드 로컬 표시를 무시합니다.",
"co_yield 또는 co_await 구문이 없는 코루틴에서 반환 형식을 추론할 수 없습니다.",
null,
"변수 템플릿",
"초기화되지 않은 개체에 액세스합니다.",
"휘발성 스토리지에서 읽으려고 합니다.",
@@ -2759,7 +2759,7 @@
"변수가 불완전한 형식 %t일 수 없습니다.",
"초기화되지 않은 하위 개체(%n)에 액세스합니다.",
"초기화되지 않은 하위 개체에 액세스합니다(기본 클래스 %t).",
"vacuous 소멸자 호출",
"상수 식에는 의사(pseudo) 소멸자 호출을 사용할 수 없습니다.",
"const 스토리지를 수정하려고 합니다.",
null,
null,
@@ -2790,7 +2790,7 @@
"벡터 요소 형식은 정수, 열거형 또는 실수 부동 소수점 형식이어야 합니다.",
"128비트 정수가 지원되지 않으므로 기본 제공 함수를 사용할 수 없습니다.",
"벡터 형식이 지원되지 않으므로 기본 제공 함수를 사용할 수 없습니다.",
"연속하는 두 개의 왼쪽 대괄호에는 특성 목록만 넣을 수 있습니다.",
"연속하는 두 개의 왼쪽 대괄호에는 항상 특성 목록이 들어가지만 특성 목록을 여기에 표시할 수 없음",
"인식할 수 없는 '대상' 특성은 확인자 루틴에서 사용하지 못하도록 이 루틴의 자격을 취소합니다.",
"%t은(는) 벡터 형식이 아닙니다.",
"벡터 형식 %t1 및 %t2의 길이가 같아야 합니다.",
@@ -2806,11 +2806,11 @@
"기본 멤버 이니셜라이저를 값 클래스에서 사용할 수 없습니다.",
"'--implicit_noexcept'에는 noexcept를 사용할 수 있는 모드가 필요합니다.",
"가상 기본 클래스(%t)와 관련된 작업을 접을 수 없습니다.",
null,
"초기화가 상수가 아닙니다.",
"불완전한 %t의 값을 평가할 수 없습니다.",
"'nodiscard' 특성으로 선언된 루틴의 반환 값을 무시합니다.",
"'nodiscard' 특성이 있는 반환 값 형식을 무시합니다.",
"'nodiscard' 특성은 void 반환 형식을 사용하는 생성자, 소멸자 또는 루틴에 적용되지 않습니다.",
"'nodiscard' 특성은 void 반환 형식을 사용하는 소멸자 또는 루틴에 적용되지 않습니다.",
"'fallthrough' 특성은 null 문에만 적용됩니다.",
"'fallthrough' 특성은 바깥쪽 switch 문에만 사용할 수 있습니다.",
"fallthrough 문은 switch case label 또는 default 앞에 와야 합니다.",
@@ -2821,7 +2821,7 @@
"__has_include는 #if 외부에 사용할 수 없습니다.",
"CComCoClass 기본 클래스를 추가할 수 없습니다.",
"null로 종료되는 문자열 아님",
"스칼라가 아닌 형식 %t은(는) vacuous 소멸자 호출에서 사용할 수 없습니다.",
"스칼라가 아닌 형식 %t은(는) 의사(pseudo) 소멸자 호출에서 사용할 수 없습니다.",
"'weak' %n의 주소가 상수가 아닙니다.",
"함수 템플릿 시그니처의 재귀적 대체가 너무 많습니다.",
"구조적 바인딩 선언에 대해 잘못된 지정자입니다.",
@@ -2841,7 +2841,7 @@
"std::tuple_size<%t>::값은 유효한 정수 계열 상수 식이 아닙니다.",
"조건 선언은 변수를 선언해야 합니다.",
"조건 선언에 이니셜라이저가 포함되어야 합니다.",
"괄호로 묶 이니셜라이저는 조건 선언에 허용되지 않습니다.",
"괄호로 묶 이니셜라이저는 조건 선언에 허용되지 않습니다.",
"조건 선언은 하나의 변수만 선언할 수 있습니다.",
"구조적 바인딩은 Closure 형식에 바인딩할 수 없습니다.",
"public이 아닌 %n에 바인딩할 수 없습니다.",
@@ -2924,7 +2924,7 @@
"매크로 호출이 진행 중입니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"헤더 중지가 파일 범위가 아닙니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"헤더 중지가 매크로 또는 #if 블록에 있으면 안 됩니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"헤더 중지가 링크 블록에 있으면 안 됩니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"헤더 중지가 연결 블록에 있으면 안 됩니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"알맞은 헤더 중지 위치를 찾을 수 없습니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"line 지시문을 PCH에 사용할 수 없습니다. IntelliSense PCH 파일이 생성되지 않았습니다.",
"제한 지정자가 잘못되었습니다.",
@@ -3116,13 +3116,13 @@
null,
null,
null,
null,
null,
"'>>>'가 필요함",
"__cudaPushCallConfiguration 선언을 찾을 수 없습니다. CUDA 도구 키트 설치가 손상되어 있을 수 있습니다.",
"C++17 스타일 이니셜라이저는 이 모드에서 표준이 아닙니다.",
"*this 캡처는 이 모드에서 표준이 아닙니다.",
"C++17 스타일 'using' 특성 접두사는 이 모드에서 표준이 아닙니다.",
"C++17 스타일 중첩 네임스페이스는 이 모드에서 표준이 아닙니다.",
"'constexpr' 'consteval'을 둘 다 한 선언에서 사용할 수는 없습니다.",
"선언에 'constexpr', 'consteval' 및 'constinit' 중 하나만 나타날 수 있습니다.",
"이 모드에서 함수가 동시에 consteval 및 virtual일 수는 없습니다.",
"'consteval'은 명시적 인스턴스화 지시문에서 사용할 수 없습니다.",
"'consteval'은 여기에 유효하지 않습니다.",
@@ -3146,9 +3146,9 @@
"'##'은 __VA_OPT__ 피연산자의 마지막에 나타날 수 없습니다.",
"C++20 스타일 중첩 인라인 네임스페이스는 이 모드에서 표준이 아닙니다.",
"기본 클래스 %t2의 포인터를 파생 클래스 %t1의 포인터로 변환할 수 없음 -- 최다 파생 개체 이상을 가리키도록 시도",
"임시 개체는 상수가 아닙니다.",
"'main'은 전역 변수 이름 또는 지정된 C 언어 링크로 사용할 수 없습니다.",
"'main' 함수는 링크 사양에서 선언할 수 없습니다.",
null,
"'main'은 전역 변수 이름 또는 지정된 C 언어 연결로 사용할 수 없습니다.",
"'main' 함수는 연결 사양에서 선언할 수 없습니다.",
"조건에 구조적 바인딩은 허용되지 않습니다.",
"'::' 앞에 특성 네임스페이스 식별자가 필요합니다.",
"하나의 특성 네임스페이스만 허용됩니다.",
@@ -3166,17 +3166,17 @@
"'internal_linkage' 특성이 이전 선언에 나타나지 않았습니다.",
"%n에 대한 실행 가능한 템플릿 인수 추론 후보를 찾을 수 없음",
"정규화된 생성자 호출은 허용되지 않습니다.",
"비교 연산자는 클래스 정의에서 기본값으로만 사용할 수 있습니다.",
"기본 비교 연산자는 적용되는 클래스의 멤버 또는 friend여야 합니다.",
"기본 비교 연산자의 매개 변수에 대한 잘못된 형식 %t('const X에 대한 참조'여야 함, 여기서 X는 바깥쪽 클래스 형식임)",
"기본 비교 연산자의 반환 형식은 'bool'이어야 합니다.",
"기본 멤버 비교 연산자는 'cost'여야 합니다.",
"이 클래스에 둘 이상의 기본 우주선 연산자가 정의됨",
null,
"코루틴의 프라미스 형식 %t에 'return_void' 및 'return_value' 세트를 둘 다 사용할 수는 없습니다.",
"'return_value'이(가) %p을(를) 선언함",
"'return_void'이(가) %p을(를) 선언함",
"%t의 %n 끝에 'return_void'가 없지만 co_return 문이 없음",
"코루틴 상태 할당에 대한 전역 'operator new'의 nothrow variant를 찾을 수 없음",
"코루틴 상태 할당 취소에 대한 실행 가능한 'operator delete'를 찾을 수 없음",
"코루틴 상태 할당 해제에 대한 실행 가능한 'operator delete'를 찾을 수 없음",
"constexpr 함수는 코루틴일 수 없습니다.",
"이 %s 식의 피연산자가 비클래스 %t(으)로 확인됩니다.",
"정적 이니셜라이저에는 co_await 식을 사용할 수 없습니다.",
@@ -3188,7 +3188,190 @@
"기본 비교 연산자는 nontrivial Microsoft 속성 필드에서 지원되지 않습니다.",
"표준 비교 형식(%t)은 정수 형식의 단일 비정적 데이터 멤버를 포함하는 클래스 형식이어야 합니다.",
"%t에서 constexpr 정적 데이터 멤버 %sq을(를) 찾을 수 없음",
"동적 할당을 위한 요소 수(%d개)가 너무 많습니다.",
"constexpr 동적 할당 요청이 너무 큽니다.",
"동적으로 할당되지 않은 스토리지 할당 해제",
"할당 해제 크기(%d1)가 할당된 크기(%d2)와 일치하지 않습니다.",
"여기서 할당이 발생했습니다.",
"할당 해제 형식(%t1)이 할당 형식(%t2)과 일치하지 않습니다.",
"일부 동적 할당(총수 = %d개)의 할당이 취소되지 않았습니다.",
"내장 %n이(가) 예기치 않은 시그니처(%t 유형)로 선언되었습니다.",
">> std::__report_constexpr_value의 출력",
">> std::__report_constexpr_value의 출력 종료",
"constexpr 평가에 종속 배열 크기를 포함하는 배열을 사용할 수 없습니다.",
"'nodiscard' 특성(%sq)으로 선언된 루틴의 반환 값을 무시합니다.",
"'nodiscard' 특성(%sq)이 있는 반환 값 형식을 무시합니다.",
"삭제된 개체를 만드는 데 사용되는 생성자에 'nodiscard' 특성이 있습니다.",
"삭제된 개체를 만드는 데 사용되는 생성자에 'nodiscard' 특성(%sq)이 있습니다.",
"삭제된 개체의 형식에 'nodiscard' 특성이 있습니다.",
"삭제된 개체의 형식에 'nodiscard' 특성(%sq)이 있습니다.",
"의사(pseudo) 소멸자 참조는 의사 소멸자 호출에만 사용할 수 있습니다.",
"상수 식에는 명시적 소멸자 호출을 사용할 수 없습니다.",
"배열 첨자 식의 괄호로 묶이지 않은 쉼표 연산자는 사용되지 않습니다.",
"동적으로 할당된 요소 수(%d개)가 이니셜라이저에 비해 너무 적습니다.",
"%s 식에 대한 volatile 피연산자는 사용되지 않습니다.",
"volatile 스칼라 개체에 할당한 결과는 사용되지 않습니다.",
"복합 대입 식에 대한 volatile 대상 형식은 사용되지 않습니다.",
"volatile 함수 매개 변수는 사용되지 않습니다.",
"volatile 반환 형식은 사용되지 않습니다.",
"volatile 한정자는 구조적 바인딩에 사용되지 않습니다.",
"'ext_vector_type' 인수는 1~2047 사이여야 합니다.",
"'ext_vector_type' 특성은 typedef에만 사용할 수 있습니다.",
"'ext_vector_type' 특성은 정수나 부동 소수점 형식에만 적용됩니다.",
"이 기능 테스트 매크로는 현재 컴파일 모드에서 무시되고 0을 반환합니다.",
"공용 구조체에 대해 여러 요소가 포함된 집합체 이니셜라이저를 평가할 수 없습니다.",
"연산자 재작성을 위해 선택한 %nd은(는) bool 형식을 반환하지 않습니다.",
"클래스 관련 할당 함수를 호출하는 new-expression은 상수로 계산할 수 없습니다.",
"배치 new-expression은 상수를 계산할 수 없습니다.",
"하위 개체 포인터를 통해 삭제하려면 가상 소멸자가 필요합니다.",
"%npTd, 역 인수 포함",
"__INTADDR__의 피연산자는 Null 포인터에서 오프셋되어야 합니다.",
"_Generic 구문이 여러 형식과 일치합니다.",
"다른 일치 항목은 %t입니다.",
"여기에 사용된 'availability' 특성은 무시됩니다.",
"범위 기반의 'for' 문에서 C++20 스타일 이니셜라이저 문은 이 모드에서 표준이 아닙니다.",
"co_await는 범위 기반의 for 문에만 적용할 수 있습니다.",
"범위 기반의 'for' 루프에서 범위 형식을 추론할 수 없습니다.",
"인라인 변수는 C++17 기능입니다.",
"destroying operator delete에는 첫 번째 매개 변수로 %t이(가) 필요합니다.",
"destroying operator delete는 std::size_t 및 std::align_val_t 이외의 매개 변수를 가질 수 없습니다.",
"낮은 수준의 추상 클래스 옵션은 C++를 컴파일할 경우에만 사용할 수 있습니다.",
"requires 절에서 식의 시작이 잘못되었습니다.",
"requires 절의 캐스트 식은 괄호로 묶어야 합니다.",
"이 연산자는 괄호 없이 requires 절의 최상위 수준에 표시될 수 없습니다.",
"원자성 제약 조건에는 bool 형식이 있어야 합니다.",
"원자성 제약 조건이 대체에 실패했습니다.",
"원자성 제약 조건이 상수가 아닙니다.",
"원자성 제약 조건이 false로 평가됩니다.",
"템플릿 제약 조건이 충족되지 않습니다.",
"이 범위에는 개념 정의가 표시될 수 없습니다.",
"%nd의 재선언이 잘못되었습니다.",
"개념 ID의 %T 인수를 대체하지 못했습니다.",
"%T 인수의 개념이 false입니다.",
"requires 절은 여기에서 허용되지 않습니다(템플릿 기반 함수가 아님).",
"개념 템플릿",
"requires 절이 %nfd과(와) 호환되지 않습니다.",
"특성이 필요합니다.",
null,
"형식 이름이 필요합니다.",
"requires 식에는 가변 매개 변수(...)를 사용할 수 없습니다.",
"requires 식의 명명되지 않은 매개 변수는 영향을 주지 않습니다.",
"개념 이름이 필요합니다.",
"상수 식에 표시되는 %s 호출은 항상 'true'를 생성합니다.",
"consteval 컨텍스트에 표시되는 %s 호출은 항상 'true'를 생성합니다.",
"비 constexpr 함수에 표시되는 %s 호출은 항상 'false'를 생성합니다.",
"%t에 대한 형식 제약 조건이 실패했습니다.",
"C++ 모듈을 사용할 수 있는 모드에서는 'export' 옵션을 사용할 수 없습니다.",
"전역 모듈 조각 선언은 다른 선언 앞에 와야 합니다.",
"모듈 선언은 전역 모듈 조각 뒤에 와야 합니다.",
"프라이빗 모듈 조각은 모듈 선언 뒤에 와야 합니다.",
"%s 모듈 조각을 내보낼 수 없습니다.",
"둘 이상의 모듈을 선언할 수 없습니다.",
"둘 이상의 %s 모듈 조각을 선언할 수 없습니다.",
"모듈은 비어 있지 않은 이름으로 선언해야 합니다.",
"%sq은(는) 가져올 수 있는 헤더가 아닙니다.",
"이름이 없는 모듈을 가져올 수 없습니다.",
"모듈은 자신에 대한 인터페이스 종속성을 포함할 수 없습니다.",
"%sq 모듈을 이미 가져왔습니다.",
"모듈 파일",
"가져올 모듈 파일 %sq을(를) 찾을 수 없습니다.",
"모듈 파일 %sq을(를) 가져올 수 없습니다."
"모듈 %sq의 모듈 파일을 찾을 수 없습니다.",
"모듈 파일 %sq을(를) 가져올 수 없습니다.",
"%s1이(가) 필요한데, %s2이(가) 발견되었습니다.",
"%sq 모듈 파일을 열 때",
"알 수 없는 파티션 이름 %sq",
"알 수 없는 모듈 파일",
"가져올 수 있는 헤더 모듈 파일",
"EDG 모듈 파일",
"IFC 모듈 파일",
"예기치 않은 모듈 파일",
"두 번째 피연산자 %t2의 형식은 %t1과(와) 크기가 같아야 합니다.",
"형식은 일반적으로 복사할 수 있어야 합니다.",
"%t 형식은 현재 __builtin_bit_cast의 constexpr 평가에서 지원되지 않습니다.",
"비트 필드 %t을(를) 사용하는 클래스 형식은 현재 __builtin_bit_cast의 constexpr 평가에서 지원되지 않습니다.",
"참조 형식 %t의 비정적 데이터 멤버는 __builtin_bit_cast의 constexpr 평가를 차단합니다.",
"volatile 형식 %t은(는) __builtin_bit_cast의 constexpr 평가를 차단합니다.",
"공용 구조체, 포인터 또는 멤버 포인터 형식 %t은(는) __builtin_bit_cast의 constexpr 평가를 차단합니다.",
"%npTd, decl %p 사용을 통해 상속됨",
"생성자를 상속하기 위해 %t의 하위 개체를 생성할 수 없습니다. 암시적 기본 생성자가 삭제됩니다.",
"%n은(는) void를 반환해야 합니다.",
"잘못된 멤버 선언 시작",
"'auto'가 필요합니다.",
"이 시점에 이 연산자를 사용할 수 없습니다. 앞의 새 식을 괄호로 묶으세요.",
"잘못된 개념 사용",
"기본 멤버 비교 연산자는 '&&'-qualified일 수 없습니다.",
"기본 constexpr 비교 함수에서 비 constexpr 함수 %nd 호출",
"constexpr 메모리 비교는 정수 또는 정수 배열 개체에 대해서만 지원됩니다.",
"개념 템플릿에는 관련된 제약 조건이 있을 수 없습니다.",
"'export'는 허용되지 않습니다.",
"개별 클래스 멤버를 내보낼 수 없습니다.",
"내보낸 선언은 이름이 있어야 합니다.",
"내보내기 선언은 내보내기 선언(이전 선언 %p)을 포함할 수 없습니다.",
"내보내기 선언은 모듈 가져오기 선언을 포함할 수 없습니다.",
"내보내기 선언은 모듈 인터페이스 단위에만 나타날 수 있습니다.",
"내보내기 선언은 내부 링크가 있는 이름을 내보낼 수 없습니다.",
"using 선언에 %nfd가 포함되어 있습니다.",
"__fp16 부동 소수점 형식이 지원되지 않으므로 기본 제공 함수를 사용할 수 없습니다.",
"requires 식은 하나 이상의 요구 사항을 지정해야 합니다.",
"'constinit'는 여기에 유효하지 않습니다.",
"'constinit'는 정적 또는 스레드 저장 기간을 사용하는 변수 선언에만 유효합니다.",
"constinit 변수에는 동적 초기화가 필요합니다.",
"변수가 이전에 'constinit'(%p)로 선언되었습니다.",
"프로토타입 함수가 아닌 함수 선언자를 사용합니다.",
"인수에는 const 한정 형식을 사용할 수 없습니다.",
"불완전한 형식 %t의 멤버 포인터는 사용할 수 없습니다.",
"init-capture의 팩 확장은 이 모드에서 사용할 수 없습니다.",
"init-capture의 팩 확장은 C++20 기능입니다.",
"클래스 정의의 기본 비교 연산자는 해당 비교 연산자(%nd)의 첫 번째 선언이어야 합니다.",
"init-capture의 팩 확장은 가변 인자 템플릿에서만 사용할 수 있습니다.",
"형식 제약 조건이 형식 개념(즉, 첫 번째 매개 변수가 형식 매개 변수인 개념 템플릿)이 아닌 %nd를 사용합니다.",
"추론된 자리 표시자 형식 %t이(가) 형식 제약 조건에 실패했습니다.",
"%t의 기본 생성자가 적합하지 않습니다.",
"순서가 지정되지 않은 제약 조건으로 인해 %t의 소멸자가 모호합니다.",
"실패한 제약 조건으로 인해 %t의 소멸자가 부적합합니다.",
"모호한 소멸자 후보",
"가상 함수에는 후행 requires 절을 사용할 수 없습니다.",
"%nd이(가) 해당 제약 조건을 충족하지 않습니다.",
"decltype 한정자 %t의 결과가 클래스 또는 열거형이 아닙니다.",
"역 매개 변수를 사용하는 암시적 비교 연산자는 동일하게 적절한 일치 항목이므로 표준 C++20에서 비교는 모호합니다. 이 문제는 일반적으로 비교 연산자에 'const' 한정자가 없어서 발생합니다. %nod를 참조하세요.",
"잘못된 개념 ID",
"requires 절의 %T 인수를 대체하지 못했습니다.",
"%nd에 대한 제약 조건을 충족하지 않습니다.",
"constexpr 함수의 변수 형식 %t에는 가상 기본 클래스가 있습니다.",
"상수 식은 가상 기본 하위 개체(%t 형식)를 할당할 수 없습니다.",
"클래스 형식의 템플릿 매개 변수는 구조적 클래스 형식이어야 합니다.",
"UTF-8 리터럴에 대한 지원에는 u-리터럴 지원이 필요합니다.",
"'%s'에 대한 모듈 파일 매핑이 두 번 이상 지정되었습니다.",
"'%s'에 대한 헤더 단위 매핑이 두 번 이상 지정되었습니다.",
"'%s'에 대한 매핑이 지정되지 않았습니다.",
"'%s'에 대한 모듈 파일 매핑이 잘못되었습니다.",
"가져올 '%s' 헤더를 찾을 수 없습니다.",
"모듈 파일 목록에 있는 두 개 이상의 파일이 '%s'과(와) 일치합니다.",
"'%s'에 대해 찾은 모듈 파일이 다른 모듈에 대한 것입니다.",
"모든 종류의 모듈 파일",
"모듈 파일을 읽을 수 없음",
"char8_t 형식이 현재 옵션에서 지원되지 않기 때문에 기본 제공 함수를 사용할 수 없습니다.",
"C++20 코루틴을 사용하도록 설정한 경우 --ms_await 명령줄 옵션을 지정할 수 없습니다.",
"기본 집계 요소 초기화에 명시적 생성자 %nod의 비표준 사용",
"memcpy 유사 내장의 소스 또는 대상이 개체를 가리키지 않음",
"memcpy 유사 내장이 대표적으로 차별화된 형식 %t1 및 %t2을(를) 복사하려고 시도함",
"memcpy 유사 내장이 중요하게 복사 가능한 형식 %t을(를) 복사하려고 시도함",
"memcpy 유사 내장이 부분 개체를 복사하려고 시도함",
"memcpy 유사 내장이 과거 배열 경계를 복사하려고 시도함",
"memcpy 유사 내장이 겹치는 바이트 범위를 복사하려고 시도함(대신 해당 memmove 작업 사용)",
"trailing-requires 절이 있는 friend 선언이 정의여야 함",
"식에 산술 또는 포인터 형식이 있어야 하는데 %t 형식이 있음",
"식에 산술, 열거형 또는 포인터 형식이 있어야 하는데 %t 형식이 있음",
"식에 산술, 범위가 지정되지 않은 열거형 또는 포인터 형식이 있어야 하는데 %t 형식이 있음",
"식에 포인터 형식이 있어야 하는데 %t 형식이 있음",
"연산자 -> 또는 ->*가 포인터 형식 대신 %t에 적용됨",
"불완전한 클래스 형식 %t을(를) 사용할 수 없음",
"이 컴파일 대상의 비트 레이아웃을 해석할 수 없음",
"IFC 연산자 %sq에 해당하는 연산자가 없음",
"IFC 호출 규칙 %sq에 해당하는 호출 규칙이 없음",
"모듈 %sq에 지원되지 않는 구문이 포함되어 있음",
"지원되지 않는 IFC 구문: %sq",
"__is_signed는 이 시점부터 더 이상 키워드가 아님",
"배열 차원에는 상수인 부호 없는 정수 값이 있어야 함",
"IFC 파일 %sq에 지원되지 않는 버전 %d1.%d2이(가) 있음",
"이 모드에서 모듈을 사용할 수 없음"
]
File diff suppressed because it is too large Load Diff
+292 -109
View File
@@ -20,7 +20,7 @@
"esperado um ')'",
"texto extra depois do esperado fim de número",
"o identificador %sq não está definido",
"os qualificadores de tipos não possuem significado nesta declaração",
"os qualificadores de tipo não possuem significado nesta declaração",
"número hexadecimal inválido",
"constante inteira é muito grande",
"dígito octal inválido",
@@ -74,7 +74,7 @@
null,
null,
null,
"o operando de '*' deve ser um ponteiro",
"o operando de '*' precisa ser um ponteiro, mas tem o tipo %t",
"o argumento da macro está vazio",
"essa declaração não possui classe de armazenamento ou especificador de tipo",
"uma declaração de parâmetro pode não possuir um inicializador",
@@ -128,10 +128,10 @@
"expressão deve ser um lvalue",
"esperado uma instrução",
"laço é inalcançável",
"uma função de escopo de bloco pode possuir apenas classes de armazenamentos extern",
"uma função de escopo de bloco pode possuir apenas a classe de armazenamento extern",
"esperado um '{'",
"expressão deve possuir tipo ponteiro-para-classe",
"expressão deve possuir tipo ponteiro-para-struct-ou-union",
"a expressão precisa ter um tipo de ponteiro-para-classe, mas tem o tipo %t",
"a expressão precisa ter o tipo de ponteiro-para-struct-ou-união, mas tem o tipo %t",
"esperado um nome de membro",
"esperado um nome de campo",
"%n não possui membro %sq",
@@ -141,7 +141,7 @@
"não é permitido capturar o endereço de um campo de bit",
"muitos argumentos na chamada da função",
"parâmetros prototipados sem nome não são permitidos quando o corpo está presente",
"a expressão deve possuir tipo ponteiro-para-objeto",
"a expressão precisa ter o tipo de ponteiro-para-objeto, mas tem o tipo %t",
"programa muito grande ou complicado para compilar",
"um valor de tipo %t1 não pode ser utilizado para inicializar uma entidade do tipo %t2",
"%n pode não ser inicializado",
@@ -152,8 +152,8 @@
"um nome de tipo pode não ser declarado novamente como um parâmetro",
"um nome de typedef pode não ser declarado novamente como um parâmetro",
"conversão de inteiro não zero para ponteiro",
"a expressão deve possuir tipo de classe",
"a expressão deve possuir tipo de struct ou union",
"a expressão precisa ter tipo de classe, mas tem o tipo %t",
"a expressão precisa ter tipo struct ou de união, mas tem o tipo %t",
"operador de atribuição antigo",
"inicializador antigo",
"a expressão deve ser uma expressão constante integral",
@@ -171,7 +171,7 @@
"esperado uma declaração",
"ponteiro aponta para fora do objeto considerado",
"conversão de tipo inválida",
"conflito de vinculação interna/externa com declaração anterior",
"conflito de vínculo interno/externo com a declaração anterior %p",
"valor de ponto flutuante não cabe no tipo integral requerido",
"a expressão não possui efeito",
"subscrito fora do intervalo",
@@ -276,7 +276,7 @@
"chamada de macro incorretamente terminada",
null,
"nome seguido de '::' deve ser uma classe ou o nome de um namespace",
"declaração inválida de friend",
"declaração de friend inválida",
"um construtor ou destrutor pode não retornar um valor",
"declaração inválida de destrutor",
"declaração de um membro com o mesmo nome que sua classe",
@@ -323,7 +323,7 @@
"inicializador de membro de dados não é permitido",
"objeto do tipo de classe abstrata %t não é permitido:",
"função retornando classe abstrata %t não é permitido:",
"declaração duplicada de friend",
"declaração de friend duplicada",
"especificadores embutidos permitidos somente em declarações de funções",
"'inline' não é permitido",
"classe de armazenamento inválida para uma função embutida",
@@ -334,10 +334,10 @@
"classe %t não possui um construtor cópia para copiar um objeto constante",
"definição de função membro declarada implicitamente não é permitido",
"classe %t não possui construtor cópia adequado",
"especificação de vinculação não é permitido",
"especificação de vinculação externa desconhecida",
"especificação de vinculação é incompatível com %nod anterior",
"mais de uma instância da função sobrecarregada %no possui vinculação 'C'",
"especificação de vínculo não é permitida",
"especificação de vínculo externo desconhecida",
"especificação de vínculo é incompatível com %nod anterior",
"mais de uma instância da função sobrecarregada %no possui vínculo 'C'",
"classe %t possui mais de um construtor padrão",
"valor copiado para variável temporária, referência para temporária utilizada",
"'operador%s' deve ser uma função membro",
@@ -379,7 +379,7 @@
"'virtual' não é permitido",
"'static' não é permitido",
"conversão de função associada para ponteiro de função normal (anacronismo)",
"expressão deve possuir tipo ponteiro-para-membro",
"expressão deve possuir tipo ponteiro para membro",
"extra ';' ignorado",
"inicializador em-classe para membro não estático não é padrão",
null,
@@ -392,7 +392,7 @@
"a função 'main' pode não ser chamada ou ter seu endereço capturado",
"um inicializador new pode não ser especificado para uma matriz",
"a função membro %no pode não ser declarada novamente fora da sua classe",
"ponteiro para tipo de classe incompleta não é permitido",
"o ponteiro para o tipo de classe incompleta %t não é permitido",
"referência para variável local de função não é permitido",
"função com um único argumento utilizada como sufixo %sq (anacronismo)",
null,
@@ -420,9 +420,9 @@
"é possível aplicar mais de uma função de conversão de %t para um tipo embutido:",
"constante %n",
"referência %n",
"%npT",
"%npTd",
"operador embutido %sq",
"%no (ambíguo por herança)",
"%nod, ambíguo por herança",
"um construtor or destrutor pode não ter seu endereço capturado",
null,
"variável temporária utilizada para valor inicial de referência de uma não constante (anacronismo)",
@@ -472,7 +472,7 @@
"o escopo global não possui nenhum rótulo nomeado %sq",
"%n não possui nenhum membro de rótulo nomeado %sq",
"typedef de função membro (permitido para compatibilidade com cfront)",
"%n pode ser utilizado somente em declarações de ponteiro-para-membro",
"%n pode ser utilizado somente em declarações de ponteiro para membro",
null,
"um argumento de template pode não referenciar uma entidade não externa",
"nome seguido de '::~' deve ser um nome de classe ou o nome de um tipo",
@@ -483,7 +483,7 @@
"classe de armazenamento inválida para uma declaração de modelo",
"%nd é um tipo inacessível (permitido somente para compatibilidade com cfront)",
null,
"declaração explícita de declaração inválida",
"declaração explícita de instanciação inválida",
"%nf não é uma entidade que pode ser instanciada",
"%n, gerado pelo compilador, não pode ser instanciado explicitamente",
"%n embutido não pode ser instanciado explicitamente",
@@ -520,7 +520,7 @@
"pré-processamento de diretiva não padrão",
"%n pode não ter uma lista de argumentos de template",
"inicialização com '{...}' esperado para objeto de agregação",
"tipos de ponteiro-para-membro de seleção de classe são incompatíveis (%t1 e %t2)",
"tipos de ponteiro para membro de seleção de classe são incompatíveis (%t1 e %t2)",
"declaração de friend sem sentido",
"'.' utilizado no lugar de '::' para formar um nome qualificado",
"função não constante chamada para objeto constante (anacronismo)",
@@ -552,7 +552,7 @@
"%n foi definido mas nunca utilizado",
"%n não pode ser definido no escopo atual",
"especificação de exceção não é permitida",
"conflito de vinculação interna/externa para %nfd",
"conflito de vínculo interno/externo para %nfd",
"%nf não será chamado para conversões implícitas ou explícitas",
"rótulo como %s é incompatível com parâmetro de modelo de tipo %t",
"modelo de função para operador new(size_t) não é permitido",
@@ -616,7 +616,7 @@
"número de erro inválido na opção de controle de diagnóstico: %s",
null,
null,
"conversão de ponteiro-para-função-membro para ponteiro de função",
"conversão de ponteiro para função-membro para ponteiro de função",
"struct ou union declaram membros sem nome",
"campo sem nome não padrão",
"membro sem nome não padrão",
@@ -663,7 +663,7 @@
"esperado uma constante inteira",
"chamada de função virtual pura",
"cadeia de caracteres identificadora de arquivo fonte inválida",
"um modelo de classe não pode ser definido em uma declaração friend",
"um modelo de classe não pode ser definido em uma declaração de friend",
"'asm' não é permitido",
"'asm' deve ser utilizado com uma definição de função",
"função 'asm' não é padrão",
@@ -677,7 +677,7 @@
"opção de compatilibidade SVR4 C pode ser utilizada somente quando se estiver compilando ANSI C",
"utilizando declaração fora do escopo de %nd",
"modo estrito é incompatível com modo SVR4 C",
"chamada de %nd não pode ser embutido",
"chamada de %nd não pode ser embutida",
"%n não pode ser embutido",
"diretório PCH inválido: %s",
"esperado __except ou __finally",
@@ -783,7 +783,7 @@
"a opção para controlar avisos sobre as diferenças no for-init pode ser utilizada somente quando se estiver compilando C++",
"definição de %n virtual é exigido aqui",
"comentário vazio interpretado como operador token-pasting '##'",
"uma classe de armazenamento não é permitida em uma declaração friend",
"uma classe de armazenamento não é permitida em uma declaração de friend",
"lista de parâmetros de modelo para %no não é permitido nessa declaração",
"%n não é um modelo de membro de classe válido",
"não é um membro de classe ou declaração de modelo de função válido",
@@ -799,7 +799,7 @@
null,
"a opção 'old_specializations' pode ser utilizada somente quando se estiver compilando C++",
"a especialização %n sem sintaxe 'template<>' não é padrão",
"essa declaração não pode ter ligação 'C' externa",
"essa declaração não pode ter vínculo 'C' externo",
"%sq não é uma classe ou nome de modelo de função no escopo atual",
"a especificação de um argumento padrão quando se está redeclarando um modelo de função não referenciado não é padrão",
"a especificação de um argumento padrão quando se está redeclarando um modelo de função já referenciado não é permitido",
@@ -864,7 +864,7 @@
"função retorna tipo incompleto %t",
"o efeito dessa diretiva '#pragma pack' é local para %n",
"%s não é um modelo",
"uma declaração friend pode não declarar uma especialização parcial",
"uma declaração de friend pode não declarar uma especialização parcial",
"especificação de exceção ignorada",
"declaração de 'size_t' não corresponde ao tipo esperado %t",
"espaço necessário entre os delimitadores '>' adjacentes das listas de argumentos do modelo aninhado ('>>' é o operador shift à esquerda)",
@@ -939,7 +939,7 @@
"um nome qualificado de classe ou namespace é exigido",
"tipo de retorno 'int' omitido na declaração de função 'main'",
"a representação ponteiro para membro %sq é muito restrita para %n",
"instrução de retorno ausente no final de não void%n",
"instrução return ausente no final de não void%n",
"declaração em uso duplicada de %no ignorada",
"os campos de bits de enumeração nunca são assinados, mas a enumeração %t inclui um enumerador negativo",
"a opção 'class_name_injection' pode ser utilizada somente quando se estiver compilando C++",
@@ -947,13 +947,13 @@
"a opção 'friend_injection' pode ser utilizada somente quando se estiver compilando C++",
"nome seguido de 'template' deve ser um modelo",
null,
"declaração friend local-classe não padrão -- sem declaração anterior no escopo de inclusão",
"declaração de friend de classe local não padrão nenhuma declaração anterior no escopo delimitador",
"especificar um argumento padrão nessa declaração não é padrão",
"a opção 'nonstd_using_decl' pode ser utilizada somente quando se estiver compilando C++",
"o tipo de retorno da função 'main' deve ser 'int'",
"um parâmetro de modelo sem tipo pode não ter tipo de classe",
"um argumento de modelo padrão não pode ser especificado na declaração de um membro de um modelo de classe fora de sua classe",
"uma instrução de retorno não é permitida em um manipulador de um bloco try de função de um construtor",
"uma instrução return não é permitida em um manipulador de um bloco try de função de um construtor",
"os designadores estendidos e comuns não podem ser combinados em uma designação de inicializador",
"a segunda subscrição não deve ser menor que a primeira",
null,
@@ -969,7 +969,7 @@
"um nome de caractere universal não pode designar um caractere no conjunto de caractere básico",
"esse caractere universal não é permitido em um identificador",
"o identificador __VA_ARGS__ somente pode ser exibido nas listas de substituição das macros variadic",
"o qualificador dessa declaração friend é ignorado",
"o qualificador dessa declaração de friend é ignorado",
"os designadores de intervalo de matriz não podem ser aplicados a inicializadores dinâmicos",
"o nome de propriedade não pode ser exibido aqui",
"o 'inline' usado como um qualificador de função é ignorado",
@@ -977,7 +977,7 @@
"um tipo de matriz de tamanho variável não é permitido",
"um literal composto não é permitido em uma expressão constante integral",
"um literal composto do tipo %t não é permitido",
"uma declaração friend de modelo não pode ser declarada em uma classe local",
"uma declaração de friend de modelo não pode ser declarada em uma classe local",
"operador '?' ambíguo: segundo operador do tipo %t1 pode ser convertido para o terceiro operador tipo %t2, e vice-versa",
"chamada de um objeto de um tipo de classe sem operador() apropriado ou funções de conversão para o tipo ponteiro para função",
"função substituta da conversão %np",
@@ -997,7 +997,7 @@
"esperado 'class'",
"a palavra-chave \"struct\" não pode ser usada ao declarar um parâmetro de modelo do modelo",
"%np2 é oculto por %no1 -- a função virtual sobrescreve a intencionada?",
"um nome qualificado não é permitido para uma declaração friend que é uma definição de função",
"um nome qualificado não é permitido para uma declaração de friend que é uma definição de função",
"%n1 não é compatível com %n2",
"uma classe de armazenamento pode não ter sido especificada aqui",
"membro de classe designado por uma declaração em uso deve ser visível em uma classe de base direta",
@@ -1033,7 +1033,7 @@
"uma entidade com vínculo interno não pode ser referenciada em uma função inline com vínculo externo",
"o tipo de argumento %t não corresponde a essa macro de função de tipo genérico",
"matriz de comprimento variável %nod",
"a declaração friend não pode adicionar argumentos padrão à declaração anterior",
"a declaração de friend não pode adicionar argumentos padrão à declaração anterior",
"%n não pode ser declarado nesse escopo",
"o identificador reservado %sq somente pode ser usado dentro de uma função",
"esse caractere universal não pode iniciar um identificador",
@@ -1229,7 +1229,7 @@
"a transferência de controle em uma expressão de instrução não é permitida",
null,
"essa declaração não é permitida dentro de uma expressão de instrução",
"uma definição de classe não POD não é permitida dentro de uma expressão de instrução",
"não é possível definir, dentro de uma expressão de instrução, uma classe que não pode ser copiada de maneira trivial",
null,
"uma variável estática local inicializada dinamicamente não é permitida dentro de uma expressão de instrução",
"uma matriz de comprimento variável não é permitida dentro de uma expressão de instrução",
@@ -1245,7 +1245,7 @@
"tipos de interface não podem ser declarados em funções",
null,
"tipos de interface não podem ter membros de dados",
"tipos de interface não podem conter declarações friends",
"tipos de interface não podem conter declarações de friend",
null,
"tipos de interface não podem ser tipos de classe aninhados",
"tipos de interface não podem ter modelos de membros",
@@ -1256,7 +1256,7 @@
"estouro de inteiro no cálculo interno devido ao tamanho ou complexidade de %t",
"estouro de inteiro no cálculo interno",
"__w64 somente pode ser especificado em tipos de ponteiro, longo e int.",
"conversão de estreitamento potencial quando compilada em um ambiente em que os tipos de ponteiro, long e int. são amplos de 64 bits",
"conversão de restrição potencial quando compilada em um ambiente em que os tipos de ponteiro, long e int. são amplos de 64 bits",
"o valor atual do pragma pack é %s",
"os argumentos para o pragma pack (mostrado) são ignorados",
null,
@@ -1289,8 +1289,8 @@
"qualificador const ignorado",
null,
"qualificadores asm GNU inválidos",
"o tipo de classe não POD passou pela elipse",
"um tipo de classe não POD não pode ser analisado por va_arg",
"um tipo de classe que não é trivial de ser copiado passou pelas reticências",
"não é possível buscar por va_arg um tipo de classe que não pode ser copiado de maneira trivial",
"the \"u\" or \"U\" suffix must appear before the \"l\" or \"L\" suffix in a fixed-point literal",
"a opção 'fixed_point' pode ser utilizada somente quando se estiver compilando C",
"o operando inteiro pode causar estouro de ponto fixo",
@@ -1361,7 +1361,7 @@
"os atributos variáveis que são exibidos depois de um inicializador entre parênteses são ignorados",
"o resultado dessa conversão não pode ser usado como um lvalue",
"negação de um valor de ponto fixo não atribuído",
"esse operador não é permitido nesse ponto; use parênteses",
null,
null,
"os nomes de registro somente podem ser usados para variáveis de registro",
"as variáveis de registro nomeado não pode ter tipo void",
@@ -1426,9 +1426,9 @@
"o segundo operando de offsetof deve ser um campo",
"o segundo operando de offsetof pode não ser um campo de bit",
"não é possível aplicar offsetof a um membro de uma base virtual",
"offsetof aplicado a tipos não POD não é padrão",
"os argumentos padrão não são permitidos em uma declaração friend de uma função membro",
"argumentos padrão não são permitidos em declarações friend que não são definições",
"offsetof aplicado a um tipo diferente de uma classe de layout padrão",
"os argumentos padrão não são permitidos em uma declaração de friend de uma função membro",
"argumentos padrão não são permitidos em declarações de friend que não são definições",
"redeclaração de %nd anteriormente declarada como um friend com argumentos padrão não é permitida",
"qualificador inválido para %t (uma classe derivada não é permitida aqui)",
"qualificador inválido para a definição de classe %t",
@@ -1535,7 +1535,7 @@
"valor de não pode definir novamente inválido",
"modificador de função duplicado",
"caractere inválido para literal char16_t",
"O __LPREFIX não pode ser aplicado aos literais char8_t, char16_t ou char32_t",
null,
"convenção de chamadas não reconhecida %s, deve ser um dos:",
null,
null,
@@ -1559,10 +1559,10 @@
"o alias cria um ciclo de entidades que sofreram alias",
null,
"uma variável com duração de armazenamento estático alocada em um registro específico não pode ser declarada com um inicializador",
"uma variável alocada em um registro específico deve ter tipo POD",
"uma variável alocada em um registro específico deve ser copiada de maneira trivial",
"significado predefinido de %no descartado",
null,
"o designador pode não especificar um subobjeto não POD",
"tipo de classe não adequado para uso com designadores",
null,
"o qualificador de união anônimo está fora do padrão",
"o qualificador de união anônimo é ignorado",
@@ -1600,7 +1600,7 @@
"'auto' não é permitido aqui",
"definição do tipo de classe base ainda não completada",
"o 'modelo externo' não pode se referir a uma especialização de %nd estático",
"o 'modelo externo' não pode seguir a criação de instância explícita de %n",
"o 'modelo externo' não pode seguir a instanciação explícita de %n",
"__declspec(restrict) exige uma função que retorne um tipo de ponteiro",
"a opção 'report_gnu_extensions' somente é válida nos modos GNU C e GNU C++",
"os tipos de matriz de comprimento variável estão fora do padrão",
@@ -1670,7 +1670,7 @@
"um qualificador de tipo não é permitido em um construtor ou destruidor",
"um qualificador de tipo não é permitido em operador new ou operador delete",
"um qualificador de tipo não é permitido em uma função não membro",
"expressão __assume com efeitos colaterais descartada",
"o argumento para %s tem efeitos colaterais, mas não é avaliado",
"tipo de origem de Unicode não reconhecido (deve ser UTF-8, UTF-16, UTF-16LE ou UTF-16BE): %s",
"Caractere Unicode com valor hex %s não representável na saída de pré-processamento",
"a prioridade solicitada do construtor/destruidor é reservada para uso interno",
@@ -1778,7 +1778,7 @@
"%npd não pode ser referenciado é uma função excluída",
"um lambda não é permitido em uma expressão não avaliada",
"__builtin_va_arg_pack/__builtin_va_arg_pack_len somente pode aparecer em uma função embutida com um parâmetro de reticências",
"'= default' não pode ser especificada em uma declaração friend",
"'= default' não pode ser especificada em uma declaração de friend",
"esperado uma palavra-chave C++",
null,
"deslocamento não é constante",
@@ -1809,7 +1809,7 @@
"modelos de funções não podem ser padronizados",
"tipo inválido para construtor padronizado",
"chamada da função requer um argumento",
"chamada da função requer um",
"chamada da função requer um argumento de ponto flutuante",
"um construtor de cópia com um argumento padrão não pode ser padronizado",
"uma função pré-declarada não pode ser excluída",
"instrução dependente vazia em uma instrução if",
@@ -1819,7 +1819,7 @@
"número de parâmetros para 'main' fora do padrão, esperado zero ou dois parâmetros",
"segundo parâmetro %t de 'main' fora do padrão, esperado 'char *[]' ou 'char **'",
"%sq foi especificado tanto como um diretório de inclusão do sistema quanto não do sistema a entrada que não é do sistema será ignorada",
"a opção para controlar ... pode ser utilizada somente quando se estiver compilando C++",
"a opção para controlar construtores de movimento e operadores de atribuição de movimento pode ser utilizada somente quando se estiver compilando C++",
null,
null,
"um tipo de retorno à frente exige o especificador de tipo 'auto'",
@@ -1862,7 +1862,7 @@
"o atributo %sq não se aplica a funções membro não static",
"o atributo %sq não se aplica a variáveis automáticas",
"o atributo %sq requer uma variável automáticas",
"o atributo %sq não é aplicável a uma variável ou função com ligações externas",
"o atributo %sq não é aplicável a uma variável ou função com vínculo externo",
"o atributo %sq requer uma variável local",
"os atributos são ignorados aqui",
"o atributo não se aplica a entidade alguma",
@@ -1884,7 +1884,7 @@
"atributos não são permitidos em instanciações explícitas",
"o atributo %sq não se aplica uma definição",
"o atributo %sq requer uma definição",
"atributos padrão não aparecem em declarações amigas que não são definições",
"atributos padrão não aparecem em declarações de friend que não são definições",
"o alinhamento especificado (%s1) é diferente do alinhamento (%s2) especificado por uma declaração anterior",
"o atributo de alinhamento também deve aparecer na definição %p",
"%n não pode ser usado como type-id de alias-declaration",
@@ -1896,7 +1896,7 @@
"atributo \"ocultar\" especificado por uma declaração à qual se refere a declaração using %p",
"o atributo \"ocultar\" é necessário para uma declaração (em uma classe \"base_check\") que oculte %nd",
"%n não está definido neste unidade de tradução, mas depende de um tipo local",
"%n não está definido nesta tradução, mas depende de um tipo sem vínculo",
"%n não está definido nesta unidade de tradução, mas depende de um tipo sem vínculo",
"o atributo %sq está ausente em uma outra unidade de tradução",
"o atributo %sq conflita com outra unidade de tradução",
"a opção 'nonstd_gnu_keywords' só é válida nos modos GNU C e GNU C++",
@@ -1984,7 +1984,7 @@
"construtores estáticos não podem ser modelos de membros",
"não é permitido um lvalue composto como um operando de saída asm",
"propriedades só podem ser membros de classes %[managed]",
"qualificadores de tipos não são permitidos em funções de membros de classes %[managed]",
"qualificadores de tipo não são permitidos em funções de membros de classes %[managed]",
"apontadores ordinários para uma classe ref %[C++/CLI] ou classe de interface não são permitidos",
"não são permitidas referências ordinárias para classes ref %[C++/CLI]",
"o especificador de substituição não nomeia uma função de membro de classe base",
@@ -2095,7 +2095,7 @@
"lambda local não é permitido em uma função membro de uma classe %[managed]",
"uma função membro de um tipo de interface %[C++/CLI] não pode ter uma definição",
"uma definição de propriedade deve incluir pelo menos um acessador (\"get\" ou \"set\")",
"propriedade indexada por padrão conflit com %nd",
"propriedade indexada por padrão conflita com %nd",
"%n1 não pode ser usado porque segue um pacote de parâmetros e não pode ser deduzido dos parâmetros %n2",
"Este pacote de expansão produziu mais de uma expressão e uma única expressão necessária aqui",
"tipo deve corresponder a System::Boolean, System::Byte, System::SByte, System::Int16, System::UInt16, System::Int32, System::UInt32, System::Int64, or System::UInt64",
@@ -2177,7 +2177,7 @@
"uma declaração de construtor estático não pode incluir um especificador de substituição nomeado",
"tipos de enumeração com escopo deve ter um nome",
"não permitida a transferência de controle para um bloco finally",
"declarações de retorno dentro de blocos finally não são permitidas",
"instrução return dentro de blocos finally não permitida",
"o bloqueio de tentativa exige pelo menos um manipulador ou cláusula finalmente",
"um objeto %[managed] deve ser lançado por um identificador",
"objeto %[managed] deve ser detectado por identificadores",
@@ -2207,7 +2207,7 @@
"um campo initonly só pode ser modificado pelo construtor de instância da classe que o contém",
"um campo estático initonly só pode ser modificado pelo construtor estático da classe que o contém",
" a função de membros será invocada em uma cópia do campo initonly",
"a expressão deve ter um tipo de apontador ou identificador",
"a expressão precisa ter um tipo de ponteiro ou de identificador, mas tem o tipo %t",
"um construtor move ou um operador de atribuição de movimento é usado para copiar um lvalue aqui, o que pode destruir o objeto fonte",
"a seleção de membros em uma entidade %[C++/CLI] genérica deve usar a sintaxe '->', e não '.'",
"um tipo de classe ref não pode derivar de %t",
@@ -2241,7 +2241,7 @@
"reinterpret_cast do identificador não seguro",
"modelos de argumentos não podem fazer referência a parâmetros de tipo genéricos",
"listas de expressões não são permitidas nesta operação subscrita (use parênteses ao redor de um operador de vírgula de nível superior)",
"a expressão deve ter tipo pointer-to-object ou handle-to-%[C++/CLI]-array",
"a expressão precisa ter tipo de matriz ponteiro-para-objeto ou identificador-para-%[C++/CLI], mas tem tipo o %t",
"atributo não reconhecido",
"membros de classes %[managed] não podem ser de um tipo de classe não %[managed]",
"membros de classes não %[managed] não podem ter tipo de classe de referência ou de interface",
@@ -2261,7 +2261,7 @@
"o tipo de iterador nesta instrução 'for each' é %t, o que não é um tipo de ponteiro ou um tipo de classe tipo iterador",
"o tipo de iterador nesta instrução 'for each' é %t, o que não é um tipo de ponteiro ou um tipo de classe tipo iterador",
"o tipo de iterador nesta instrução 'for each' é %t, o que não é um tipo de ponteiro ou um tipo de classe tipo iterador",
"o atributo de empacotamento no tipo pai é ignorado para este campo de tipo não POD %t",
"o atributo de empacotamento no tipo pai é ignorado para este campo de tipo de classe %t que não é de layout padrão",
"%nd não implementado porque essa declaração não é pública e não possui um especificador de substituição nomeado",
"falta o atributo gnu_inline especificado na declaração anterior %p",
"funções membros de classes %[managed] não podem ter parâmetros de elipses",
@@ -2337,7 +2337,7 @@
"ponteiro para membro do tipo void não é permitido",
"ponteiro para membro do tipo reference não é permitido",
"ponteiro para membro do tipo handle não é permitido",
"uma lista delimitada não é permitida aqui",
"uma lista delimitada por chaves não é permitida aqui",
"um membro operator->* não é permitido em uma classe gerenciada",
"os metadados do assembly se referem a um assembly não existente",
"o atributo %sq2 está em conflito com o atributo anterior %sq1",
@@ -2350,21 +2350,21 @@
"a definição de std::initializer_list não contém o construtor esperado",
"a declaração oculta %nd",
"lista de parâmetros de modelo inválida para std::initializer_list (deveria ser um parâmetro de tipo ordinário sem padrão)",
"uma lista entre chaves não pode ser passada para um parâmetro de reticências",
"uma lista delimitada por chaves não pode ser passada para um parâmetro de reticências",
"um #include <lista_de_inicializadores> é necessário antes do uso de um std::initializer_list, incluindo um uso implícito",
"a palavra-chave 'inline' não pode ser usada na declaração de um alias de namespace",
"a declaração anterior de %n não foi declarada em linha",
"a redeclaração de inline %n deve ser declarada em linha",
"O %n foi declarado embutido anteriormente",
"o primeiro argumento deve ser uma constante inteira",
"um designador não pode ser usado com um tipo de não agregação %t",
"um designador para um membro de união anônima só pode aparecer entre chaves correspondentes àquela união anônima",
"marcas de protótipos de função só podem ser habilitadas ao compilar C",
"não é possível omitir chaves para o inicializador deste subobjeto",
"conversão de estreitamento inválida de %t1 para %t2",
"conversão de estreitamento inválida de %t1 para %t2: o valor da constante não se encaixa no tipo de destino",
"conversão de restrição inválida de %t1 para %t2",
"conversão de restrição inválida de %t1 para %t2: o valor da constante não se encaixa no tipo de destino",
"a conversão para tipo de matriz incompleto %t não é permitida",
"conversão de estreitamento inválida de %t1 para %t2: o valor da constante não pode ser representado de forma exata no tipo de destino",
"um inicializador com parênteses para uma entidade não classe deve ser uma expressão, e não uma lista delimitada por chaves",
"conversão de restrição inválida de %t1 para %t2: o valor da constante não pode ser representado de forma exata no tipo de destino",
"um inicializador entre parênteses para uma entidade não classe deve ser uma expressão, e não uma lista delimitada por chaves",
"uma lista delimitada por chaves não fornece um tipo de retorno para este lambda",
"a especificação da exceção declarada é incompatível com a gerada",
"os tipos de enumeração com escopo são um recurso do C++11",
@@ -2389,7 +2389,7 @@
"uma função constexpr deve conter exatamente uma instrução return",
"a instrução não pode aparecer em uma função constexpr",
"a instrução não pode aparecer em um constructor constexpr",
"uma função não pode ser constexpr e virtual ao mesmo tempo",
"uma função não pode ser tanto constexpr quanto virtual neste modo",
"uma função constexpr não pode ter um tipo de retorno não literal %t",
"uma função constexpr não pode ter um parâmetro de tipo não literal %t",
"usos de %n não sequenciados em expressão pode gerar resultados indefinidos",
@@ -2412,7 +2412,7 @@
"a declaração de uma lista de parâmetros void com um tipo void qualificado não é padrão",
"o qualificador nesta declaração local é ignorado",
"esta expressão constante tem o tipo %t em vez do tipo necessário %s",
"a criação de instâncias de __bases ou __direct_bases requer um tipo de classe",
"a instanciação de __bases ou __direct_bases requer um tipo de classe",
"o argumento de __bases e __direct_bases deve ser um parâmetro de modelo de tipo",
"%s só pode ser usado em contextos de modelo",
"o retorno da função constexpr é não constante",
@@ -2420,7 +2420,7 @@
"o construtor não pode ser constexpr porque o inicializador de %n não é uma expressão constante",
"inicializador não constante para construtor constexpr",
"o construtor padrão gerado para %t não pode ser usado em um inicializador para seu próprio membro de dados",
"a criação de instâncias do inicializador de %n depende de seu próprio valor",
"a instanciação do inicializador de %n depende de seu próprio valor",
"o construtor padrão usado como padrão não pode ser constexpr porque o construtor padrão correspondente declarado implicitamente não seria constexpr",
null,
"número binário inválido",
@@ -2435,8 +2435,8 @@
"o construtor constexpr deve inicializar a classe base direta %t",
"é improvável que a criação de um objeto std::initializer_list em um inicializador de campo funcione como esperado porque a matriz subjacente será destruída ao final da expressão completa",
"'this' não pode ser usado em uma expressão constante",
"um inicializador vazio não é válido para este tipo de união (qual membro deve ser inicializado fica ambíguo)",
"'constexpr' não é permitido em uma diretiva explícita de criação de instâncias",
null,
"'constexpr' não é permitido em uma diretiva explícita de instanciação",
"não é possível determinar a especificação de exceção do construtor padrão devido a uma dependência circular",
"%p definido por união anônima",
"este construtor usa o inicializador de %nd, o que resultaria em recursão ilimitada",
@@ -2450,7 +2450,7 @@
"um qualificador de referência não é permitido aqui",
"sobrecarregar duas funções de membro com os mesmos tipos de parâmetro exige que ambas tenham ou que nenhuma tenha qualificadores de referência",
"caractere inválido no delimitador de cadeia de caracteres bruta",
"o parêntese que termina o delimitador de cadeia de caracteres bruta não foi encontrado após 16 caracteres indicador de cadeia de caracteres bruta ignorado",
"parêntese que termina o delimitador de cadeia de caracteres bruta não encontrado após 16 caracteres indicador de cadeia de caracteres bruta ignorado",
"delimitador de término não encontrado para cadeia de caracteres bruta",
"um pacote de parâmetros deve ser o argumento de modelo final em uma especialização parcial",
"uma função de ponteiro para membro com o tipo %t só pode ser usada com um objeto lvalue",
@@ -2474,7 +2474,7 @@
"qualificador inválido para %t (uma classe derivada não é permitida aqui)",
"o atributo 'always_inline' é ignorado em funções não embutidas",
"construtores de herança devem ser herdados de uma classe base direta",
"%np já herdado de %t",
null,
"espera-se um rótulo",
"espera-se um número de operando depois de '%%l'",
"o número de operando para '%%l' não se refere a um argumento de rótulo válido",
@@ -2488,7 +2488,7 @@
"operador literal definido pelo usuário não encontrado",
"operadores literais ambíguos e/ou modelo de operador literal:",
"um operador literal não pode ser membro de uma classe",
"um operador literal não pode ter uma vinculação de nome de 'C' externa",
"um operador literal não pode ter um vínculo de nome de 'C' externo",
"pelo menos um parâmetro esperado para um operador literal",
"parâmetros em excesso para este operador literal",
"tipo de parâmetro %t inválido para o operador literal",
@@ -2515,7 +2515,7 @@
"funções excluídas são um recurso do C++11",
"funções padrão são um recurso do C++11",
"uma classe de armazenamento não é permitida em uma especialização explícita",
"%t não é uma classe ou enumeração no escopo",
null,
"uma enumeração sem escopo definido deve ser opaco para ser especializada",
"uma declaração de modelo enumeração deve fazer referência a um membro anteriormente declarado de um modelo de classe",
"espera-se um operando de vetor",
@@ -2566,7 +2566,7 @@
"destino de atributo inválido para um atributo autônomo",
"destino de atributo inválido para este contexto",
"o atributo %t não pode ser usado aqui",
"%t é preterido; use '...' para especificar uma matriz de parâmetros",
"%t está preterido; use '...' para especificar uma matriz de parâmetros",
"o namespace padrão não pode ser estendido",
"o tipo na caixa deve ser uma classe value ou enum",
"a referência de rastreamento para a classe de valor não é permitida",
@@ -2622,7 +2622,7 @@
"declarar um operador novo ou excluído como 'incorporado' está fora do padrão",
"um inicializador de memória de um membro de dados não pode ser uma expansão de pacote",
"expressões lambda genéricas não podem ter padrões de captura neste modo",
"um argumento de modelo padrão em uma declaração friend somente pode ser especificada em uma definição",
"um argumento de modelo padrão em uma declaração de friend somente pode ser especificada em uma definição",
"uma declaração de modelo friend com argumento de modelo padrão deve ser a única declaração (primeiro %p declarado)",
"uma declaração de enumeração opaca não pode fazer parte de outra declaração",
"uma declaração de enumeração opaca está fora do padrão neste contexto",
@@ -2669,20 +2669,20 @@
"um construtor ou destruidor não pode ser uma corrotina",
"%n não pode ser um corrotina",
"as expressões co_yield não são permitidas em uma cláusula catch",
"expressões co_yield não são permitidas em funções constexpr",
"nesta expressão co_await, nenhum exemplo de %no corresponde à lista de argumentos",
"esta expressão co_await requer uma função adequada %sq e nenhuma foi encontrada",
"a expressão co_await não é permitida aqui porque o tipo de promessa %t não tem nenhuma função de membro 'return_value' ou 'return_void'",
null,
null,
null,
null,
"modelo de classe %sq não encontrado",
"use a palavra-chave 'typename' para tratar %n como um tipo em um contexto dependente",
"o valor do argumento deve ser menor do que a soma dos elementos do vetor",
"%t não tem membro %sq",
"uma lista delimitada não fornece um tipo de retorno",
"uma lista delimitada por chaves não fornece um tipo de retorno",
"uma expressão co_await precisa aparecer em um escopo de função",
"uma expressão co_await não é permitida dentro de uma cláusula catch",
"uma corrotina não pode conter um parâmetro de reticências",
"habilitar o constexpr estilo C++14 exige suporte para 'bool'",
"a função constexpr %nd não está definida",
"o constexpr %nd não está definido",
"esta chamada não pode ser avaliada porque a função de destino %nd não é constexpr ou ainda não está completamente definida",
"observação",
"Observação",
@@ -2701,14 +2701,14 @@
"tentativa de acessar o armazenamento uma posição além do fim de uma matriz de %d elementos",
"tentativa de acessar armazenamento expirado",
"tentativa de acessar armazenamento de tempo de execução",
"não é possível executar um bloco try",
null,
"não é possível chamar %nd não constexpr",
"não é possível usar matriz de comprimento variável durante avaliação de constexpr",
"não é possível realizar um deslocamento negativo",
"quantidade de deslocamento (%d) grande demais",
"o valor excede o intervalo de %t",
"erro de ponto flutuante",
"tentativa de desreferenciar um ponteiro nulo para membro (membro de dados)",
"tentativa de desreferenciar um ponteiro para membro nulo (membro de dados)",
"comparar um ponteiro para nulo e um ponteiro para uma função não é padrão",
"falha na inicialização de metadados",
"conversão de base para derivado inválida (o tipo de classe completo é %t)",
@@ -2737,8 +2737,8 @@
"não é possível definir um ponteiro antes do primeiro elemento da matriz",
"uma corrotina com um tipo de retorno deduzido é inválida",
"expressão não permitida em contexto não avaliado",
"yield_value produz o tipo nulo",
"yield_value produz o valor (do tipo %t), que não é permitido em uma corrotina com um tipo de retorno deduzido",
null,
null,
"'return' não é permitido em uma corrotina (em vez disso, use 'co_return')",
"'co_return' só é permitido em corrotinas",
"os valores de ponto flutuante não podem ser comparados",
@@ -2748,7 +2748,7 @@
"o tipo de parâmetro do modelo complexo ou imaginário não é padrão",
"a expressão co_yield não é permitida fora do escopo de uma função",
"ignorando a indicação de local de thread na união anônima",
"não é possível deduzir o tipo de retorno de uma corrotina sem nenhum constructo de co_yield ou co_await",
null,
"modelo de variável",
"acesso a objeto não inicializado",
"tentativa de leitura do armazenamento volátil",
@@ -2759,7 +2759,7 @@
"a variável não pode ter um %t de tipo incompleto",
"acesso a subobjeto não inicializado (%n)",
"acesso a subobjeto não inicializado (classe base %t)",
"chamada de destruidor vazia",
"uma chamada de pseudodestruidor não é permitida em uma expressão de constante",
"tentativa de modificar o armazenamento const",
null,
null,
@@ -2790,7 +2790,7 @@
"o tipo de elemento do vetor deve ser integral, de enumeração ou do tipo de ponto flutuante real",
"a função interna não está disponível porque não há suporte para 128 bits inteiros",
"a função interna não está disponível porque não há suporte para os tipos de vetores",
"dois colchetes à esquerda e consecutivos só podem apresentar uma lista de atributos",
"dois colchetes à esquerda consecutivos sempre introduzem uma lista de atributos, mas uma lista de atributos não pode aparecer aqui",
"o atributo 'de destino' não reconhecido desqualifica essa rotina de ser usada pela rotina do resolvedor",
"%t não é um tipo de vetor",
"os tipos de vetor %t1 e %t2 devem ter o mesmo comprimento",
@@ -2806,11 +2806,11 @@
"um inicializador de membro padrão não é permitido em uma classe de valor",
"'--implicit_noexcept' exige um modo que habilite noexcept",
"não é possível realizar o desdobramento da operação envolvendo a classe base virtual (%t)",
null,
"a inicialização não é constante",
"não é possível avaliar o valor de %t incompleto",
"ignorando o valor retornado da rotina declarada com o atributo 'nodiscard'",
"ignorando o tipo de valor retornado com o atributo 'nodiscard'",
"o atributo 'nodiscard' não se aplica aos construtores, destrutores ou rotinas com o tipo de retorno nulo",
"o atributo 'nodiscard' não se aplica aos destruidores ou rotinas com o tipo de retorno nulo",
"o atributo 'fallthrough' se aplica somente a instruções nulas",
"o atributo 'fallthrough' pode aparecer somente em uma instrução switch da delimitação",
"a instrução fallthrough deve preceder o rótulo de caso ou padrão de switch",
@@ -2821,7 +2821,7 @@
"__has_include não pode aparecer fora de #if",
"não é possível adicionar a classe base CComCoClass",
"não é uma cadeia de caracteres com terminação nula",
"o tipo não escalar %t não pode ser usado em uma chamada de destruidor vazia",
"o tipo não escalar %t não pode ser usado em uma chamada de pseudodestruidor",
"o endereço de 'weak' %n não é constante",
"substituições recursivas em excesso de assinaturas de modelo de função",
"especificador inválido para a declaração de associação estruturada",
@@ -2924,7 +2924,7 @@
"invocação de macro em andamento. Não foi gerado um arquivo PCH do IntelliSense.",
"a parada de cabeçalho não está no escopo do arquivo. Não foi gerado um arquivo PCH do IntelliSense.",
"a parada de cabeçalho não pode ser um bloco #if nem uma macro. Não foi gerado um arquivo PCH do IntelliSense.",
"a parada de cabeçalho não pode ser um bloco de ligação. Não foi gerado um arquivo PCH do IntelliSense.",
"a parada de cabeçalho não pode ser um bloco de vínculo. Não foi gerado um arquivo PCH do IntelliSense.",
"não é possível localizar um local de parada de cabeçalho adequado. Não foi gerado um arquivo PCH do IntelliSense.",
"as diretrizes de linha não podem ser usadas em um PCH. Não foi gerado um arquivo PCH do IntelliSense.",
"especificador restrito inválido",
@@ -3116,15 +3116,15 @@
null,
null,
null,
null,
null,
"esperado um '>>>'",
"não é possível localizar a declaração de __cudaPushCallConfiguration. A instalação do kit de ferramentas CUDA pode estar corrompida.",
"O inicializador de estilo C++17 está fora do padrão neste modo",
"a captura de *this está fora do padrão neste modo",
"O atributo 'using' de estilo C++17 está fora do padrão neste modo",
"Os namespaces aninhados de estilo C++17 estão fora do padrão neste modo",
"'constexpr' e 'consteval' não podem aparecer juntos em uma declaração",
"somente uma das opções: 'constexpr', 'consteval' e 'constinit' pode aparecer em uma declaração",
"uma função não pode ser tanto consteval quanto virtual neste modo",
"'consteval' não é permitido em uma diretiva explícita de criação de instâncias",
"'consteval' não é permitido em uma diretiva explícita de instanciação",
"'consteval' não é válido aqui",
"um destruidor não pode ser consteval",
"um construtor para uma classe com bases virtuais não pode ser consteval",
@@ -3146,9 +3146,9 @@
"'##' pode não estar por último no operando __VA_OPT__",
"Os namespaces embutidos aninhados de estilo C++20 estão fora do padrão neste modo",
"não é possível converter o ponteiro que aponta para a classe base %t2 para apontar para a classe derivada %t1 tentativa de apontar além do objeto mais derivado",
"o objeto temporário não é constante",
"'main' não pode ser usado como um nome de variável global nem receber vinculação de linguagem C",
"a função 'main' não pode ser declarada em uma especificação de ligação",
null,
"'main' não pode ser usado como um nome de variável global nem receber vínculo de linguagem C",
"a função 'main' não pode ser declarada em uma especificação de vínculo",
"a associação estruturada não é permitida em uma condição",
"é necessário um identificador de namespace de atributo antes de '::'",
"somente um namespace de atributo é permitido",
@@ -3156,7 +3156,7 @@
"uma associação estruturada não pode ser combinada com outros declaradores",
"não é possível ramificar um contexto de avaliação constante",
"modelos de associação estruturada não são permitidos",
"um inicializador com parênteses precisa ser uma expressão, e não uma lista delimitada por chaves",
"um inicializador entre parênteses precisa ser uma expressão, e não uma lista delimitada por chaves",
"não é possível deduzir os argumentos de modelo de classe",
"um operador new ou delete não pode ser declarado como 'consteval'",
"o endereço de uma função consteval não pode ser usado aqui",
@@ -3166,11 +3166,11 @@
"o atributo 'internal_linkage' não apareceu em uma declaração anterior",
"não foi encontrado nenhum candidato viável à dedução de argumento de modelo para %n",
"uma chamada de construtor totalmente qualificada não é permitida",
"um operador de comparação pode ser usado como padrão somente em uma definição de classe",
"um operador de comparação usado como padrão precisa ser um membro ou um friend da classe à qual se aplica",
"tipo incorreto %t para o parâmetro do operador de comparação usado como padrão (precisa ser 'referência à const X', em que X é o tipo de classe delimitadora)",
"o tipo de retorno do operador de comparação usado como padrão precisa ser 'bool'",
"um operador de comparação de membros usado como padrão precisa ser 'const'",
"mais de um operador \"espaçonave\" usado como padrão definido nesta classe",
null,
"o tipo de promessa de corrotina %t não pode ter 'return_void' e 'return_value' definidos",
"%p declarado de 'return_value'",
"'return_void' declarou %p",
@@ -3188,7 +3188,190 @@
"os operadores de comparação usados como padrão não são compatíveis com os campos de propriedade da Microsoft não triviais",
"o tipo de comparação padrão (%t) precisa ser um tipo de classe com um único membro de dados não estáticos do tipo integral",
"não foi encontrado nenhum membro de dados estáticos de constexpr %sq em %t",
"número de elementos (%d) muito grande para alocação dinâmica",
"a solicitação de alocação dinâmica constexpr é muito grande",
"desalocação de armazenamento que não foi alocado dinamicamente",
"o tamanho da desalocação (%d1) não corresponde ao tamanho alocado (%d2)",
"alocação ocorrida aqui",
"o tipo de desalocação (%t1) não corresponde ao tipo de alocação (%t2)",
"algumas alocações dinâmicas (número total = %d) não foram desalocadas",
"%n intrínseco declarado com assinatura inesperada (tipo %t)",
">> saída de std:: __report_constexpr_value",
">> encerrar saída de std::__report_constexpr_value",
"não é possível usar a matriz com tamanho de matriz dependente na avaliação constexpr",
"ignorando o valor retornado da rotina declarada com o atributo 'nodiscard' (%sq)",
"ignorando o tipo de valor retornado com atributo 'nodiscard' (%sq)",
"o construtor usado para criar o objeto descartado tem o atributo 'nodiscard'",
"o construtor usado para criar o objeto descartado tem o atributo 'nodiscard' (%sq)",
"o tipo de objeto descartado tem o atributo 'nodiscard'",
"o tipo de objeto descartado tem o atributo 'nodiscard' (%sq)",
"uma referência de pseudodestruidor pode ser usada somente para uma chamada pseudodestruidor",
"uma chamada de destruidor explícita não é permitida em uma expressão constante",
"um operador de vírgula que não está entre parênteses em uma expressão de subscrito de matriz está preterido",
"número de elementos alocados dinamicamente (%d) muito pequeno para o inicializador",
"um operando volátil da expressão %s está preterido",
"o uso do resultado de uma atribuição para um objeto volátil escalar está preterido",
"um tipo de destino volátil para uma expressão de atribuição composta foi preterido",
"um parâmetro de função volátil está preterido",
"um tipo de retorno volátil está preterido",
"o uso de um qualificador volátil em uma associação estruturada está preterido",
"o argumento 'ext_vector_type' deve estar entre 1 e 2047",
"o atributo 'ext_vector_type' pode aparecer somente em um typedef",
"o atributo 'ext_vector_type' se aplica somente a tipos inteiro ou de ponto flutuante",
"esta macro de teste de recurso é ignorado (e retorna 0) no modo de compilação atual",
"não é possível avaliar um inicializador agregado com vários elementos para uma união",
"O %nd selecionado para a regravação do operador não retorna o tipo bool",
"uma nova expressão que chama uma função de alocação específica da classe não pode ser avaliada como constante",
"uma nova expressão de posicionamento não pode ser avaliada como constante",
"excluir por meio de um ponteiro de subobjeto exige um destruidor virtual",
"%npTd, com argumentos revertidos",
"o operando de __INTADDR__ precisa ser deslocado do ponteiro nulo",
"O constructo _genérico corresponde a vários tipos",
"a outra correspondência é %t",
"o atributo 'availability' usado aqui é ignorado",
"A instrução inicializadora no estilo C++20 em uma instrução 'for' com base em intervalos não é padrão neste modo",
"co_await pode ser aplicado somente a uma instrução 'for' baseada em intervalos",
"não é possível deduzir o tipo de intervalo no loop 'for' com base em intervalos",
"as variáveis embutidas são um recurso do C++17",
"a destruição do operador de exclusão exige %t como primeiro parâmetro",
"a destruição de um operador de exclusão não pode ter parâmetros diferentes de std::size_t e std::align_val_t",
"opções de classe abstrata reduzidas podem ser usadas somente ao compilar C++",
"início de expressão inválido na cláusula requires",
"uma expressão de conversão em uma cláusula requires precisa estar entre parênteses",
"este operador não pode aparecer no nível superior (sem parênteses) em uma cláusula requires",
"a restrição atômica precisa ter o tipo bool",
"falha na substituição de restrição atômica",
"restrição atômica não constante",
"a restrição atômica é avaliada como false",
"restrição de modelo não satisfeita",
"a definição do conceito não pode aparecer neste escopo",
"redeclaração inválida de %nd",
"falha na substituição de argumentos %T da ID do conceito",
"o conceito é falso para argumentos %T",
"uma cláusula requires não é permitida aqui (não é uma função de modelo)",
"modelo de conceito",
"cláusula requires incompatível com %nfd",
"um atributo é esperado",
null,
"um nome de tipo é esperado",
"um parâmetro de reticências não é permitido em uma expressão requires",
"o parâmetro sem nome na expressão requires não tem efeito",
"um nome de conceito é esperado",
"a chamada para %s que aparece em uma expressão de constante sempre produz 'true'",
"a chamada para %s que aparece em um contexto consteval sempre produz 'true'",
"a chamada para %s que aparece em uma função não constexpr sempre produz 'false'",
"falha na restrição de tipo para %t",
"a opção 'export' não pode ser usada em modos em que os módulos C++ estão habilitados",
"uma declaração de fragmento de módulo global precisa preceder qualquer outra declaração",
"uma declaração de módulo só pode ser precedida por um fragmento de módulo global",
"um fragmento de módulo privado precisa ser precedido por uma declaração de módulo",
"não é possível exportar um fragmento de módulo %s",
"não é possível declarar mais de um módulo",
"não é possível declarar mais de um fragmento de módulo %s",
"um módulo precisa ser declarado com um nome não vazio",
"%sq não é um cabeçalho importável",
"não é possível importar um módulo sem nome",
"um módulo não pode ter uma dependência de interface em si mesmo",
"o módulo %sq já foi importado",
"arquivo de módulo",
"não foi possível localizar o arquivo de módulo %sq para importação",
"não foi possível importar o arquivo de módulo %sq"
"não foi possível localizar o arquivo de módulo para o módulo %sq",
"não foi possível importar o arquivo de módulo %sq",
"era esperado %s1, foi encontrado %s2",
"ao abrir o arquivo de módulo %sq",
"nome de partição desconhecido %sq",
"um arquivo de módulo desconhecido",
"um arquivo de módulo de cabeçalho importável",
"um arquivo de módulo EDG",
"um arquivo de módulo IFC",
"um arquivo de módulo inesperado",
"o tipo do segundo operando %t2 precisa ter o mesmo tamanho que %t1",
"o tipo precisa ser fácil de ser copiado",
"no momento, não há suporte para o tipo %t para a avaliação constexpr de __builtin_bit_cast",
"no momento, não há suporte para os tipos de classe com bitfields %t na avaliação constexpr de __builtin_bit_cast",
"o membro de dados não estático do tipo de referência %t impede a avaliação constexpr de __builtin_bit_cast",
"um tipo volátil %t impede a avaliação constexpr de __builtin_bit_cast",
"um tipo de união, ponteiro ou ponteiro para membro %t impede a avaliação constexpr de __builtin_bit_cast",
"%npTd, herdado por meio do uso de decl %p",
"a construção de subobjeto de %t para construtores herdados não pode ser executada. O construtor padrão implícito foi excluído",
"%n precisa retornar nulo",
"declaração de início de membro inválida",
"'auto' era esperado",
"este operador não é permitido neste ponto; coloque parênteses na nova expressão anterior",
"uso inválido do conceito",
"um operador de comparação de membros usado como padrão não pode ser qualificado por '&&'",
"a função de comparação constexpr padrão chama a função não constexpr %nd",
"Só há suporte para a comparação de memória constexpr para os objetos inteiros ou matriz de inteiro",
"um modelo de conceito não pode ter restrições associadas",
"'export' não é permitido",
"a exportação de membros de classe individuais não é permitida",
"uma declaração exportada precisa introduzir um nome",
"uma declaração export não pode conter uma declaração export (declaração anterior %p)",
"uma declaração de exportação não pode conter uma declaração de importação de módulo",
"uma declaração export só pode aparecer em uma unidade de interface de módulo",
"uma declaração export não pode exportar um nome com vínculo interno",
"a declaração using inclui %nfd",
"a função interna não está disponível porque não há suporte para tipos de ponto flutuante __fp16",
"uma expressão requires precisa especificar pelo menos um requisito",
"'constinit' não é válido aqui",
"'constinit' só é válido para declarações de variáveis com duração de armazenamento estática ou de thread",
"a variável constinit requer uma inicialização dinâmica",
"a variável foi declarada anteriormente com 'constinit' %p",
"uso de declarador de função sem protótipo",
"o argumento não pode ter um tipo qualificado como const",
"um ponteiro para membro de um tipo incompleto %t não é permitido",
"a expansão de pacote em init-capture não está habilitada neste modo",
"a expansão de pacote em init-capture é um recurso do C++20",
"um operador de comparação usado como padrão em uma definição de classe precisa ser a primeira declaração desse operador de comparação (%nd)",
"uma expansão de pacote em um init-capture pode ser usada somente em um modelo variádico",
"a restrição de tipo usa %nd, que não é um conceito de tipo (ou seja, um modelo de conceito cujo primeiro parâmetro é um parâmetro de tipo)",
"falha do tipo de espaço reservado deduzido %t na restrição de tipo",
"o construtor padrão de %t não é qualificado",
"o destruidor de %t é ambíguo devido a restrições não ordenadas",
"o destruidor de %t é inelegível devido a falhas de restrições",
"candidato a destruidor ambíguo",
"uma função virtual não pode ter uma cláusula requires à direita",
"%nd não satisfaz as respectivas restrições",
"o resultado do qualificador decltype %t não é uma classe nem uma enumeração",
"a comparação é ambígua no padrão de C++20 porque o operador de comparação implícito com parâmetros invertidos é uma correspondência igualmente boa. Isso geralmente é causado por um qualificador 'const' ausente no operador de comparação. Confira %nod",
"ID do conceito inválida",
"falha na substituição de argumentos %T da cláusula requires",
"as restrições de %nd não estão satisfeitas",
"o tipo de variável %t na função constexpr tem classes base virtuais",
"uma expressão de constante não pode alocar um subobjeto base virtual (para o tipo %t)",
"um parâmetro de modelo de tipo de classe precisa ser do tipo de classe estrutural",
"o suporte para literais UTF-8 exige o suporte para o literal u.",
"o mapeamento de arquivo de módulo de '%s' foi especificado mais de uma vez",
"o mapeamento de unidade de cabeçalho de '%s' foi especificado mais de uma vez",
"não foi especificado nenhum mapeamento para '%s'",
"o mapeamento de arquivo de módulo de '%s' é inválido",
"não é possível localizar o cabeçalho '%s' a ser importado",
"mais de um arquivo na lista de arquivos de módulo corresponde a '%s'",
"o arquivo de módulo encontrado para '%s' é de um módulo diferente",
"qualquer tipo de arquivo de módulo",
"não é possível ler o arquivo de módulo",
"a função interna não está disponível porque não há suporte para o tipo char8_t com as opções atuais",
"a opção da linha de comando --ms_await não poderá ser especificada se as corrotinas do C++20 estiverem habilitadas",
"o uso não padrão do construtor explícito %nod para inicialização do elemento de agregação padrão",
"a origem ou o destino do intrínseco similar a memcpy não aponta para um objeto",
"tentativas intrínsecas similares a memcpy de copiar tipos representacionalmente distintos %t1 e %t2",
"tentativas intrínsecas similares a memcpy de copiar o tipo não trivialmente copiável %t",
"tentativas intrínsecas similares a memcpy de copiar objetos parciais",
"tentativas intrínsecas similares a memcpy de copiar o limite de matriz passado",
"tentativas intrínsecas similares a memcpy de copiar intervalos de bytes sobrepostos (usando a operação de memmove correspondente, em vez disso)",
"uma declaração de friend com uma cláusula requires à direita precisa ser uma definição",
"a expressão precisa ter tipo aritmético ou de ponteiro, mas tem o tipo %t",
"a expressão precisa ter tipo aritmético, de enumeração ou de ponteiro, mas tem o tipo %t",
"expressão precisa ter o tipo aritmético, de enumeração sem escopo ou de ponteiro, mas tem o tipo %t",
"a expressão precisa ter um tipo de ponteiro, mas tem o tipo %t",
"operador -> ou ->* aplicado a %t em vez de a um tipo de ponteiro",
"o tipo de classe incompleta %t não é permitido",
"não é possível interpretar o layout de bit para este destino de compilação",
"nenhum operador correspondente para o operador IFC %sq",
"não há convenção de chamada correspondente para a convenção de chamada IFC %sq",
"o módulo %sq contém constructos sem suporte",
"constructo IFC sem suporte: %sq",
"__is_signed não é mais uma palavra-chave deste ponto",
"uma dimensão de matriz precisa ter um valor inteiro sem sinal constante",
"O arquivo IFC %sq tem uma versão sem suporte %d1.%d2",
"os módulos não estão habilitados neste modo"
]
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -74,7 +74,7 @@
null,
null,
null,
"“*”的操作数必须是指针",
"\"*\" 的操作数必须是指针,但它具有类型 %t",
"宏参数为空",
"此声明没有存储类或类型说明符",
"参数声明不能包含初始值设定项",
@@ -130,8 +130,8 @@
"循环无法访问",
"block-scope 函数只能包含外部存储类",
"应输入“{”",
"表达式必须包含指向类的指针类型",
"表达式必须包含指向结构或联合的指针类型",
"表达式必须包含指向类的指针类型,但它具有类型 %t",
"表达式必须包含指向结构或联合的指针类型,但它具有类型 %t",
"应输入成员名",
"应输入字段名",
"%n 没有成员 %sq",
@@ -141,7 +141,7 @@
"不允许采用位域的地址",
"函数调用中的参数太多",
"存在正文时不允许未命名的原型参数",
"表达式必须包含指向对象的指针类型",
"表达式必须包含指向对象的指针类型,但它具有类型 %t",
"程序过大或过于复杂,无法编译",
"%t1 类型的值不能用于初始化 %t2 类型的实体",
"未能初始化 %n",
@@ -152,8 +152,8 @@
"类型名称不能重新声明为参数",
"typedef 名称不能重新声明为参数",
"非零整数到指针的转换",
"表达式必须包含类类型",
"表达式必须包含结构或联合类型",
"表达式必须具有类类型,但它具有类型 %t",
"表达式必须具有结构或联合类型,但它具有类型 %t",
"旧式的赋值运算符",
"旧式的初始值设定项",
"表达式必须为整型常量表达式",
@@ -171,7 +171,7 @@
"应输入声明",
"指针指向基础对象之外",
"类型转换无效",
"外部/内部链接与前的声明冲突",
"外部/内部链接与前的声明 %p 冲突",
"浮点值不适合于所需的整型",
"表达式不起任何作用",
"下标超出范围",
@@ -352,8 +352,8 @@
"有多个运算符 %sq 与这些操作数匹配:",
"分配函数的第一个参数必须是“size_t”类型",
"分配函数需要“void *”返回类型",
"释放函数需要“void”返回类型",
"释放函数的第一个参数必须是“void *”类型",
"解除分配函数需要“void”返回类型",
"解除分配函数的第一个参数必须是“void *”类型",
null,
"类型必须是对象类型",
"基类 %t 已初始化",
@@ -370,9 +370,9 @@
"%n 未定义用于初始化下列内容的构造函数:",
"%n 包含未经初始化的常量或引用成员",
"%n 包含未经初始化的常量字段",
"类 %t 没有用于复制常量对象的分配运算符",
"类 %t 没有适当的分配运算符",
"类 %t 的分配运算符不明确",
"类 %t 没有用于复制常量对象的赋值运算符",
"类 %t 没有适当的赋值运算符",
"类 %t 的赋值运算符不明确",
null,
"声明需要 typedef 名称",
null,
@@ -392,11 +392,11 @@
"不能调用函数“main”或提取其地址",
"不能为数组指定新的初始值设定项",
"不能在成员函数 %no 的类外部重新声明该函数",
"不允许指针指向不完整的类类型",
"不允许指针指向不完整的类类型 %t",
"不允许引用封闭函数的局部变量",
"对后缀 %sq 使用了单参数函数(计时错误)",
null,
"无法复制隐式生成的分配运算符:",
"无法复制隐式生成的赋值运算符:",
"强制转换为数组类型是非标准的(视为强制转换为 %t)",
"%n 具有运算符 new%s() 但没有默认运算符 delete%s()",
"%n 具有默认运算符 delete%s() 但没有运算符 new%s()",
@@ -420,9 +420,9 @@
"应用了多个从 %t 到内置类型的转换函数:",
"常量 %n",
"引用 %n",
"%npT",
"%npTd",
"内置运算符 %sq",
"%no (继承不明确)",
"%nod,通过继承但含义不明确",
"构造函数或析构函数不能提取其自身的地址",
null,
"临时用于非常量引用的初始值(计时错误)",
@@ -677,8 +677,8 @@
"SVR4 C 兼容性选项只能在编译 ANSI C 时使用",
"使用超出范围的 %nd 声明",
"严格模式与 SVR4 C 模式不兼容",
"无法内联方式调用 %nd",
"%n 不能是内联方式的",
"无法内联 %nd 的调用",
"%n 无法进行内联",
"PCH 目录无效: %s",
"应输入 __except 或 __finally",
"__leave 语句只能在 __try 中使用",
@@ -732,7 +732,7 @@
"%n 不是类模板",
"具有不完整元素类型的数组是非标准的",
"不能在命名空间中声明分配运算符",
"不能在命名空间中声明释放运算符",
"不能在命名空间中声明解除分配运算符",
"%np1 与 %np2 的 using 声明冲突",
"%np1 的 using 声明与 %npd2 冲突",
"namespaces 选项只能在编译 C++ 时使用",
@@ -902,7 +902,7 @@
null,
"析构函数名称 %t1 的限定符与类型 %t2 不匹配",
"已忽略类型限定符",
"选项nonstd_qualifier_deduction只能在编译 C++ 时使用",
"选项 \"nonstd_qualifier_deduction\" 只能在编译 C++ 时使用",
"不能定义声明“dllimport”的函数",
"属性规范不正确;正确的格式为 __declspec(property(get=名称 1,put=名称 2))",
"属性已指定",
@@ -917,7 +917,7 @@
null,
"无法将指向派生类 %t1 的成员的指针转换到指向基类 %t2 的成员的指针 -- 基类是虚拟的",
"实例化文件的目录无效: %s",
"选项one_instantiation_per_object只能在编译 C++ 时使用",
"选项 \"one_instantiation_per_object\" 只能在编译 C++ 时使用",
null,
null,
"编译多个输入文件时不能指定实例化信息文件名",
@@ -939,7 +939,7 @@
"需要类或命名空间限定名",
"返回类型“int”在函数“main”的声明中已省略",
"指向成员的指针表示方法 %sq 对于 %n 而言限制性太大",
"非 void %n 结尾缺少返回语句",
"非 void %n 结尾缺少 return 语句",
"已忽略 %no 的重复 using 声明",
"枚举位域始终不带符号,但是枚举 %t 包含负的枚举数",
"选项“class_name_injection”只能在编译 C++ 时使用",
@@ -953,11 +953,11 @@
"函数“main”的返回类型必须是“int”",
"非类型模板参数不能为类类型",
"不能在类外部的类模板成员声明上指定默认模板参数",
"构造函数的函数 try 块的处理程序中不允许使用返回语句",
"构造函数的函数 try 块的处理程序中不允许使用 return 语句",
"初始值设定项指定中不能组合一般或扩展指示符",
"第二个下标一定不能比第一个下标小",
null,
"选项extended_designators只能在编译 C 时使用",
"选项 \"extended_designators\" 只能在编译 C 时使用",
"位域的声明大小大于位域类型的大小;截断为 %s 位",
"用作构造函数名的类型与类型 %t 不匹配",
"使用没有链接的类型声明带有链接的变量",
@@ -1229,7 +1229,7 @@
"不允许将控制传输到语句表达式",
null,
"语句表达式内部不允许使用此语句",
"语句表达式内部不允许非 POD 类定义",
"无法在语句表达式内部定义完全无法复制的类",
null,
"语句表达式内部不允许使用动态初始化的局部静态变量",
"语句表达式内部不允许使用变长数组",
@@ -1258,7 +1258,7 @@
"__w64 只能在 int、long 和指针类型上指定",
"在 int、long 或指针类型宽度为 64 位的环境中进行编译时,存在指针类型潜在收缩转换",
"pragma 堆栈的当前值是 %s",
"已忽略杂注 pack(show) 的参数",
"已忽略 pragma pack(show) 的参数",
null,
null,
"已忽略以前的 __declspec(align(...))",
@@ -1289,8 +1289,8 @@
"已忽略常量限定符",
null,
"GNU asm 限定符无效",
"非 POD 类类型传递省略号",
"非 POD 类类型无法由 va_arg 提取",
"已通过省略号传递完全无法复制的类类型",
"无法通过 va_arg 提取完全无法复制的类类型",
"定点文字中“u”或“U”后缀必须出现在“l”或“L”之前",
"选项“fixed_point”只能在编译 C 时使用",
"整数操作数可能造成定点溢出",
@@ -1358,10 +1358,10 @@
"无法为其元素包含不常用析构函数的可变数组成员指定初始值设定项",
"无法为间接可变数组成员指定初始值设定项",
"GNU 版本号无效: %s",
"已忽略出现在带括号的初始值设定项之后的变量特性",
"已忽略出现在带括号的初始值设定项之后的变量特性",
"此强制转换的结构不能用作左值",
"求反无符号定点值",
"该点不允许此操作;请使用括号",
null,
null,
"寄存器名只能用于寄存器变量",
"已命名的寄存器变量不能包含 void 类型",
@@ -1394,7 +1394,7 @@
"dllexport/dllimport 需要外部链接",
"使用 dllexport/dllimport 声明的类成员无法使用此类说明符对其自身进行声明",
"在具有 DLL 接口的类中使用了没有 DLL 接口的类类型的字段",
"带括号的成员声明是非标准的",
"带括号的成员声明是非标准的",
"已忽略行接合中反斜杠和新行之间的空白",
"dllexport/dllimport 与 %nod 冲突;已丢弃 dllimport/dllexport",
"匿名成员类的无效成员 -- 类 %t 包含禁用的成员函数",
@@ -1426,7 +1426,7 @@
"offsetof 的第二个操作数必须是字段",
"offsetof 的第二个操作数不能是位域",
"无法将 offsetof 应用到虚拟基的成员",
"应用于非 POD 类型的 offsetof 是非标准的",
"offsetof 应用于非标准布局类的类型",
"成员函数的友元声明中不允许使用默认参数",
"非定义的友元声明中不允许使用默认参数",
"不允许重新声明之前已声明为带有默认参数的友元的 %nd",
@@ -1535,7 +1535,7 @@
"cannot-redefine 值无效",
"重复的函数修饰符",
"char16_t 文本的无效字符",
"__LPREFIX 不可应用于 char8_t、char16_t 或 char32_t 文本",
null,
"无法识别的调用约定 %s,必须为以下内容之一:",
null,
null,
@@ -1559,10 +1559,10 @@
"别名创建了别名条目的周期",
null,
"无法使用初始值设定项声明带有在特定寄存器中分配的静态存储持续时间的变量",
"在特定寄存器中分配的变量必须包含 POD 类型",
"在特定寄存器中分配的变量必须是可轻松复制的",
"%no 的预定义含义已丢弃",
null,
"指示符不能指定非 POD 子对象",
"类类型不适合用于指示符",
null,
"匿名联合限定符是非标准限定符",
"已忽略匿名联合限定符",
@@ -1634,11 +1634,11 @@
"__sptr 和 __uptr 不能同时指定",
"将指针转换从 %t1 扩大到 %t2 会扩展符号位",
"__sptr 和 __uptr 不适用于指向成员的指针类型",
"%t 的复制分配运算符的声明已取消,因为 %n 是常量",
"%t 的复制赋值运算符的声明已取消,因为 %n 是常量",
null,
"%t1 的复制分配运算符的声明已取消,因为 %t2 的该声明已取消",
"%t1 的复制分配运算符的声明已取消,因为 %t2 的该声明不明确",
"%t1 的复制分配运算符的声明已取消,因为 %t2 的该声明无法访问",
"%t1 的复制赋值运算符的声明已取消,因为 %t2 的该声明已取消",
"%t1 的复制赋值运算符的声明已取消,因为 %t2 的该声明不明确",
"%t1 的复制赋值运算符的声明已取消,因为 %t2 的该声明无法访问",
"%t1 的复制构造函数的声明已取消,因为 %t2 的该声明已取消",
"%t1 的复制构造函数的声明已取消,因为 %t2 的该声明不明确",
"%t1 的复制构造函数的声明已取消,因为 %t2 的该声明无法访问",
@@ -1670,14 +1670,14 @@
"构造函数或析构函数上不允许使用类型限定符",
"运算符 new 或运算符 delete 上不允许使用类型限定符",
"非成员函数上不允许使用类型限定符",
"有副作用的 __assume 表达式已丢弃",
"%s 的参数具有负面影响,但它未进行计算",
"无法识别的 Unicode 源种类 (必须为 UTF-8、UTF-16、UTF-16LE、UTF-16BE 中的一个): %s",
"带有十六进制值 %s 的 Unicode 字符不能在预处理输出中表示",
"已将请求的构造函数/析构函数优先级保留为供内部使用",
"无法识别的 GCC 杂注",
"无法识别的 GCC 可见性杂注指令",
"无法识别的 GCC pragma",
"无法识别的 GCC 可见性 pragma 指令",
"无法识别的可见性种类",
"可见性杂注仍然处于活动状态",
"可见性 pragma 仍然处于活动状态",
"没有匹配的可见性推送",
"不完整类型的 typeid",
null,
@@ -1731,7 +1731,7 @@
"显式捕获与默认设置匹配",
"%n 不是变量",
"无法在 lambda 中捕获带有静态存储持续时间的变量",
"“this”无法引用捕获",
"“this”无法通过引用捕获",
"“this”无法在此 lambda 体内使用",
"外部范围匿名联合的成员不能在 lambda 体内部引用",
"封闭函数局部变量不能在 lambda 体中引用,除非其位于捕获列表中",
@@ -1805,7 +1805,7 @@
"forScope 行为是标准的",
"无法删除函数“main”",
"此处的类型限定符毫无意义",
"类型对于默认的分配运算符无效",
"类型对于默认的赋值运算符无效",
"无法默认函数模板",
"类型对于默认构造函数无效",
"函数调用需要一个参数",
@@ -1819,7 +1819,7 @@
"“main”的参数数目不标准,应为零个或两个参数",
"“main”的第二个参数 %t 不标准,应为“char *[]”或“char **”",
"已将 %sq 同时指定为系统和非系统包括目录 -- 将忽略非系统项",
"用于控制移动构造函数和移动分配运算符的选项只能在编译 C++ 时使用",
"用于控制移动构造函数和移动赋值运算符的选项只能在编译 C++ 时使用",
null,
null,
"尾随的返回类型需要“auto”类型说明符",
@@ -1871,7 +1871,7 @@
"声明 %p 指定了不同的“tls_model”参数",
"特性 %sq 不适用于内联函数",
"特性 %sq 需要内联函数",
"include_alias 杂注中的两个文件名都必须使用相同分隔符",
"include_alias pragma 中的两个文件名都必须使用相同分隔符",
"带符号与无符号操作数之间的比较",
"已忽略未命名类型上的特性 %sq",
"已忽略特性 %sq,因为后面没有任何定义",
@@ -2100,7 +2100,7 @@
"此包扩展生成了多个表达式,而此处需要单个表达式",
"类型必须对应于 System::Boolean、System::Byte、System::SByte、System::Int16、System::UInt16、System::Int32、System::UInt32、System::Int64 或 System::UInt64",
"在没有适当 operator() 的情况下调用句柄类型的对象,或将函数转换为指向函数的指针类型",
"未命名的参数包声明不能带括号",
"未命名的参数包声明不能带括号",
"只有在编译 C++ 时才能启用可变参数模板",
"属性定义与 %nd 冲突",
"重载的属性",
@@ -2177,7 +2177,7 @@
"静态构造函数声明不能包含命名重写说明符",
"区分范围的枚举类型必须具有名称",
"不允许将控制传输到 finally 块",
"不允许 finally 块内存在返回语句",
"不允许 finally 块内存在 return 语句",
"try 块至少需要一个 handler 或 finally 子句",
"%[managed] 对象必须由句柄引发",
"%[managed] 对象必须由句柄捕获",
@@ -2207,7 +2207,7 @@
"initonly 字段只能由其包含类的实例构造函数进行修改",
"静态 initonly 字段只能由其包含类的静态构造函数进行修改",
"将对 initonly 字段的副本调用成员函数",
"表达式必须包含指针或句柄类型",
"表达式必须具有指针或句柄类型,但它具有类型 %t",
"移动构造函数或移动赋值运算符用于在此处复制左值,这可能会破坏源对象",
"%[C++/CLI] 泛型实体上的成员选择必须使用“->”语法,而不是使用“.”",
"ref 类类型不能从 %t 派生",
@@ -2241,7 +2241,7 @@
"句柄的 reinterpret_cast 不安全",
"模板参数不能引用泛型类型参数",
"此下标操作中不允许使用表达式列表(用括号括起顶级逗号操作符)",
"表达式必须具有指针到对象或句柄到 %[C++/CLI] 数组类型",
"表达式必须包含指向对象的指针类型或指向 %[C++/CLI] 数组的句柄类型,但它具有类型 %t",
"无法识别的特性",
"%[managed] 类的成员不能是非 %[managed] 类类型",
"非 %[managed] 类的成员不能有 ref 类类型或接口类类型",
@@ -2261,7 +2261,7 @@
"此“for each”语句中的迭代器类型为 %t,它不是指针类型或类似迭代器的类类型",
"此“for each”语句中的迭代器类型为 %t,它不是指针类型或类似迭代器的类类型",
"此“for each”语句中的迭代器类型为 %t,它不是指针类型或类似迭代器的类类型",
"为非 POD 类型 %t 的此字段忽略了父类型上的封装特性",
"为 %t 类类型的此字段(非标准布局)忽略了父类型上的封装特性",
"%nd 未实现,因为此声明不是公共的,并且没有指定重写说明符",
"此声明缺少在前面的声明 %p 中指定的 gnu_inline 特性",
"%[managed] 类的成员函数不能有省略号参数",
@@ -2337,7 +2337,7 @@
"不允许使用指向类型为 void 的成员的指针",
"不允许使用指向引用类型的成员的指针",
"不允许使用指向句柄类型的成员的指针",
"此处不允许使用括号括起的列表",
"此处不允许使用用大括号括起的列表",
"托管类中不允许使用 operator->* 成员",
"程序集元数据引用不存在的程序集",
"特性 %sq2 与早期特性 %sq1 冲突",
@@ -2350,11 +2350,11 @@
"std::initializer_list 的定义未包含预期的构造函数",
"声明隐藏了 %nd",
"std::initializer_list 的模板参数列表无效(它应是一个无默认值的普通类型参数)",
"无法为省略号参数传递用大括号括起的列表",
"无法为省略号参数传递用大括号括起的列表",
"需要先加入 #include <initializer_list>,然后才能使用 std::initializer_list,其中包括隐式使用",
"不能在命名空间别名声明中使用“inline”关键字",
"以前的 %n 声明不是以内联方式声明的",
"必须以内联方式声明内联 %n 的重新声明",
"%n 之前声明为内联",
"第一个参数必须为整数常量",
"指示符不能与非聚合类型 %t 配合使用",
"匿名联合成员的指示符只能出现在与该匿名联合对应的大括号中",
@@ -2364,8 +2364,8 @@
"从 %t1 到 %t2 进行收缩转换无效: 常量值不适合目标类型",
"不允许强制转换为不完整的数组类型 %t",
"从 %t1 到 %t2 进行收缩转换无效: 无法准确地在目标类型中表示常量值",
"非类实体的带括号的初始值设定项必须为表达式,而不能是用大括号括起的列表",
"用大括号括起的列表无法为此 lambda 提供返回类型",
"非类实体的带括号的初始值设定项必须为表达式,而不能是用大括号括起的列表",
"用大括号括起的列表无法为此 lambda 提供返回类型",
"所声明的异常规范与所生成的异常规范不兼容",
"区分范围的枚举类型是 C++11 的一项功能",
"函数类型不能进行值初始化",
@@ -2386,10 +2386,10 @@
"%nd 是之前未声明的 constexpr",
"缺少 constexpr 变量的初始化表达式",
"“constexpr”在此处无效",
"一个 constexpr 函数只能包含一个返回语句",
"一个 constexpr 函数只能包含一个 return 语句",
"语句不能出现在 constexpr 函数中",
"语句不能出现在 constexpr 构造函数中",
"一个函数不能既是 constexpr 又是虚拟的",
"在此模式下,函数不能同时为 constexpr 和 virtual",
"constexpr 函数不能具有非文本返回类型 %t",
"constexpr 函数不能具有非文本类型 %t 的参数",
"在表达式中未按顺序使用 %n 可能生成未定义的结果",
@@ -2435,7 +2435,7 @@
"constexpr 构造函数必须初始化直接基类 %t",
"字段初始值设定项中的 std::initializer_list 对象的创建可能无法发挥预期的作用,因为在整个表达式的结尾将销毁基础数组",
"“this”不能在常量表达式中使用",
"空初始值设定项对此联合类型无效(应初始化的成员不明确)",
null,
"不允许对显式实例化指令使用“constexpr”",
"无法确定默认构造函数的异常规范,因为存在循环依赖",
"匿名联合定义的 %p",
@@ -2450,11 +2450,11 @@
"此处禁止使用引用限定符",
"重载参数类型相同的两个成员函数需要它们同时具有或缺少引用限定符",
"原始字符串分隔符中的字符无效",
"在 16 个字符找不到终止原始字符串分隔符的括号 - 原始字符串指示器被忽略",
"在 16 个字符找不到终止原始字符串分隔符的括号 - 原始字符串指示器被忽略",
"找不到原始字符串的结束分隔符",
"参数包必须是部分专用化中的最终模板参数",
"指向 %t 类型成员函数的指针只能与 lvalue 对象一起使用",
"指向 %t 类型成员函数的指针只能与 rvalue 对象一起使用",
"类型为 %t 的指向成员的指针函数只能与 lvalue 对象一起使用",
"类型为 %t 的指向成员的指针函数只能与 rvalue 对象一起使用",
"此默认复制构造函数的参数不能是常量,因为基项或成员复制构造函数参数为非常量",
"此默认赋值运算符的参数不能是常量,因为基项或成员复制赋值参数为非常量",
"匿名联合必须至少包含一个非静态数据成员",
@@ -2474,7 +2474,7 @@
"%t 的无效限定符(此处不允许使用派生类)",
"\"always_inline\" 属性在非内联函数中被忽略",
"继承构造函数时,必须从直接基类进行继承",
"%np 已从 %t 继承",
null,
"应有一个标签",
"\"%%l\" 应后接一个操作数",
"“%%l”的操作数编号未引用有效的 label 参数",
@@ -2515,8 +2515,8 @@
"删除函数是一项 C++11 特性",
"默认函数是一项 C++11 特性",
"不允许在显式专用化中使用存储类",
"%t 不是一个类或枚举范围",
"未限定范围的枚举不得透明,以进行专用化",
null,
"未区分范围的枚举不得透明,以进行专用化",
"枚举模板声明必须引用以前声明的类模板成员",
"应为矢量操作数",
"shuffle 源操作数具有不兼容的类型 %t1 和 %t2",
@@ -2618,7 +2618,7 @@
"必须是窄字符串文本",
"圆括号不匹配",
"没有对应的 \"push_options\"",
"函数内部不允许使用此杂注",
"函数内部不允许使用此 pragma",
"声明一个新的或删除运算符 \"inline\" 是非标准操作",
"数据成员的成员初始值设定项不能为包扩展",
"泛型 lambda 表达式在此模式下不能具有捕获默认值",
@@ -2666,23 +2666,23 @@
"无 \"%s\" --存在目标配置",
"64 位 x86 配置中不支持属性",
"“%s”需要一个参数",
"构造函数或析构函数不能是协同程",
"%n 不能是协同程",
"构造函数或析构函数不能是协同程",
"%n 不能是协同程",
"catch 子句中不允许 co_yield 表达式",
"constexpr 函数中不允许 co_yield 表达式",
"在此 co_await 表达式中,%no 的实例均不匹配参数列表",
"此 co_await 表达式需要但未找到合适的 %sq 函数",
"此处不允许 co_await 表达式,因为 promise 类型 %t 不具有成员函数 \"return_value\" 或 \"return_void\"",
null,
null,
null,
null,
"未找到类模板 %sq",
"在依赖上下文中使用 \"typename\" 关键字将 %n 视为类型 ",
"参数值必须小于矢量元素的总和",
"%t 不具有成员 %sq",
"括号括起的列表不提供返回类型",
"用大括号括起的列表不提供返回类型",
"co_await 表达式必须出现在函数范围内",
"catch 子句中不允许 co_await 表达式",
"协同程不能具有省略号参数",
"协同程不能具有省略号参数",
"要具备对 \"bool\" 的支持才能启用 C++14 样式的 constexpr",
"未定义 constexpr 函数 %nd",
"未定义 constexpr %nd",
"无法计算此调用,因为目标函数 %nd 不为 constexpr 或尚未完全定义",
"注释",
"注释",
@@ -2701,7 +2701,7 @@
"尝试访问 %d 元素数组末尾后一个位置的存储",
"尝试访问已过期的存储",
"尝试访问运行时存储",
"无法执行 try 块",
null,
"无法调用非 constexpr %nd",
"无法在 constexpr 计算过程中使用变长数组",
"无法执行负移位",
@@ -2735,12 +2735,12 @@
"constexpr 求值中的指针差异无效",
"非数组指针上的算术无效",
"无法在第一个数组元素的前面设置指针",
"具有推导出的返回类型的协同程无效",
"具有推导出的返回类型的协同程无效",
"未求值的上下文中禁止使用表达式",
"yield_value 将生成 void 类型",
"yield_value 将生成(类型为 %t 的)值,在具有推导出的返回类型的协同程序中不允许使用该值",
"协同程中不允许使用 \"return\" (请改用 \"co_return\")",
"仅允许在协同程中使用 \"co_return\"",
null,
null,
"协同程中不允许使用 \"return\" (请改用 \"co_return\")",
"仅允许在协同程中使用 \"co_return\"",
"不能比较浮点值",
"不能对指针值进行比较,因为它们不指向同一完整对象或者它们指向具有不同可访问性的子对象",
"忽略非内联命名空间上的 abi_tag 属性",
@@ -2748,7 +2748,7 @@
"复杂或假想的模板参数类型是非标准的",
"不允许在函数范围之外使用 co_yield 表达式",
"忽略匿名联合上的线程本地指示",
"无法从不具有 co_yield 或 co_await 构造的协同程序推导返回类型",
null,
"变量模板",
"对未初始化的对象的访问",
"尝试从易失存储中读取",
@@ -2759,7 +2759,7 @@
"变量不能有不完整的类型 %t",
"对未初始化的子对象的访问(%n)",
"对未初始化的子对象的访问(基类 %t)",
"析构函数调用",
"常数表达式中不允许使用伪析构函数调用",
"尝试修改常量存储",
null,
null,
@@ -2785,12 +2785,12 @@
"应为逗号(此模式未启用 static_assert 的单参数版本)",
"静态断言失败",
"最多使用 _Nullable、_Nonnull 和 _Null_unspecified 中的一个限定符修饰类型",
"只有指针和成员指针类型允许使用为 null 的限定符",
"只有指针和指向成员指针类型允许使用为 null 的限定符",
"矢量过长",
"矢量元素类型必须是整型、枚举或真浮点类型",
"内置函数无法使用,因为不支持 128 位整数",
"内置函数无法使用,因为不支持矢量类型",
"两个连续的左方括号只能引入特性列表",
"两个连续的左方括号必然会引入一个属性列表,但此处不能出现属性列表",
"无法识别的 \"target\" 特性将使解析程序例程无法使用此例程",
"%t 不是矢量类型",
"适量类型 %t1 和 %t2 长度必须相同",
@@ -2806,11 +2806,11 @@
"值类中不允许使用默认成员初始化表达式",
"\"--implicit_noexcept\" 需要可启用 noexcept 的模式",
"不能折叠涉及虚拟基类的操作(%t)",
null,
"初始化不是常数",
"无法计算不完整 %t 的值",
"忽略使用 \"nodiscard\" 属性声明的例程的返回值",
"忽略具有 \"nodiscard\" 属性的返回值类型",
"\"nodiscard\" 属性不适用于构造函数、析构函数以及返回类型为 void 的例程",
"\"nodiscard\" 属性不适用于析构函数返回类型为 void 的例程",
"\"fallthrough\" 属性仅适用于 null 语句",
"\"fallthrough\" 属性可能只出现在封闭的 switch 语句中",
"fallthrough 语句必须后接 switch case 标签或默认值",
@@ -2821,7 +2821,7 @@
"__has_include 不能出现在 #if 外部",
"无法添加 CComCoClass 基类",
"不是以 null 结尾的字符串",
"析构函数调用中不能使用非标量类型 %t",
"析构函数调用中不能使用非标量类型 %t",
"\"weak\" %n 的地址不是常量",
"函数模板签名的递归替换项过多",
"结构化绑定声明的说明符无效",
@@ -2928,29 +2928,29 @@
"找不到合适的头停止点位置。未生成 IntelliSense PCH 文件。",
"不能在 PCH 中使用行指令。未生成 IntelliSense PCH 文件。",
"限制说明符无效",
"必须从 amp 限制的函数调用 amp 限制的函数 %nfd",
"必须从受 AMP 限制的函数调用受 AMP 限制的函数 %nfd",
"函数 %nfd1 的限制说明符与调用函数 %nfd2 不相符",
"重载候选项均不具备正确的限制说明符",
"不允许在 amp 限制的函数 %nfd 中使用 %t",
"%t 不可在受 AMP 限制的函数 %nfd 中使用",
"this-pointer 中的类型 %t 对于 amp 限制的成员函数 %nfd 是非法的",
"返回类型 %t 对于 amp 限制的函数 %nfd 是非法的",
"参数类型 %t 对于 amp 限制的函数 %nfd 是非法的",
"返回类型 %t 对于受 AMP 限制的函数 %nfd 是非法的",
"参数类型 %t 对于受 AMP 限制的函数 %nfd 是非法的",
null,
"存储类 %s 在 amp 限制的函数 %nfd 中是非法的",
"%s 不可在 amp 限制的函数 %nfd 中使用",
"amp 限制的函数中的强制转换非法",
"不允许在 amp 限制的函数中使用异常规范",
"amp 限制的函数 %nfd 中的间接寻址非法",
"虚函数调用在 amp 限制的函数 %nfd 中是非法的",
"间接函数调用在 amp 限制的函数 %nfd 中是非法的",
"存储类 %s 在受 AMP 限制的函数 %nfd 中是非法的",
"%s 不可在受 AMP 限制的函数 %nfd 中使用",
"受 AMP 限制的函数中的强制转换非法",
"不允许在受 AMP 限制的函数中使用异常规范",
"受 AMP 限制的函数 %nfd 中的间接寻址非法",
"虚函数调用在受 AMP 限制的函数 %nfd 中是非法的",
"间接函数调用在受 AMP 限制的函数 %nfd 中是非法的",
"此处不允许使用 tile_static 存储类",
"amp 限制的函数 %nfd 中的标签非法",
"amp 限制的函数 %nfd 的位域非法",
"amp 限制的函数 %nfd 的省略号非法",
"受 AMP 限制的函数 %nfd 中的标签非法",
"受 AMP 限制的函数 %nfd 的位域非法",
"受 AMP 限制的函数 %nfd 的省略号非法",
"amp 兼容的类型 %nfd 的虚拟基非法",
"amp 限制的函数 %nfd 中的外部引用非法",
"常数值超出了 amp 限制的函数 %nfd 中的支持范围",
"amp 限制的函数的 pragma 包值 %s 非法",
"受 AMP 限制的函数 %nfd 中的外部引用非法",
"常数值超出了受 AMP 限制的函数 %nfd 中的支持范围",
"受 AMP 限制的函数的 pragma 包值 %s 非法",
"限制说明符不可重叠",
"析构函数的限制说明符必须包含所有构造函数的限制说明符的联合部分",
null,
@@ -2961,8 +2961,8 @@
null,
"extern \"C\" 函数不支持多个限制说明符",
"不允许使用成员函数指针、函数指针和引用带 \"amp\" 限制说明符的函数",
"对于 amp 限制的函数 %nfd,基类、数据成员或数组元素必须至少有 4 个字节对齐",
"对于 amp 限制的函数 %nfd,数据成员的偏移必须为其自然对齐的倍数",
"对于受 AMP 限制的函数 %nfd,基类、数据成员或数组元素必须至少有 4 个字节对齐",
"对于受 AMP 限制的函数 %nfd,数据成员的偏移必须为其自然对齐的倍数",
null,
null,
null,
@@ -3116,13 +3116,13 @@
null,
null,
null,
null,
null,
"应使用 \">>>\"",
"找不到 __cudaPushCallConfiguration 声明。CUDA 工具包安装可能已损坏。",
"C++17 样式初始值设定项在此模式中是非标准的",
"正在捕获 *这在此模式中是非标准的",
"C++17 样式 \"using\" 属性前缀在此模式中是非标准的",
"C++17 样式嵌套命名空间在此模式中是非标准的",
"\"constexpr\"\"consteval\" 不能同时出现在声明中",
"声明中只能出现 \"constexpr\"\"consteval\" 和 \"constinit\" 中的一个",
"在此模式下,函数不能同时为 consteval 和 virtual",
"不允许对显式实例化指令使用 \"consteval\"",
"\"consteval\" 在此处无效",
@@ -3146,7 +3146,7 @@
"\"##\" 不能为 __VA_OPT__ 操作数中的最后一项",
"C++20 样式嵌套内联命名空间在此模式中是非标准的",
"无法将指向基类 %t2 的指针转换为指向派生类 %t1 的指针 - 尝试指向最底层派生类对象之外的对象",
"临时对象不是常数",
null,
"\"main\" 不能用作全局变量名或给定 C 语言的链接",
"不能在链接规范中声明函数 \"main\"",
"条件中不允许使用结构化绑定",
@@ -3156,7 +3156,7 @@
"结构化绑定不能与其他声明符组合",
"无法从常量计算上下文中作出分支",
"不允许使用结构化绑定模板",
"带括号的初始值设定项必须为表达式,而不能是用大括号括起的列表",
"带括号的初始值设定项必须为表达式,而不能是用大括号括起的列表",
"无法推导类模板参数",
"new 或 delete 运算符不能声明为 \"consteval\"",
"此处不能使用 consteval 函数的地址",
@@ -3166,18 +3166,18 @@
"\"internal_linkage\" 属性未出现在之前的声明中",
"未找到 %n 的可行模板参数推导候选项",
"不允许使用完全限定的构造函数调用",
"仅可在类定义中将比较运算符设为默认值",
"默认比较运算符必须是它适用于的类的成员或友元",
"默认比较运算符的参数的类型 %t 不正确(必须是“对 const X 的引用”,其中 X 是封闭类类型)",
"默认比较运算符的返回类型必须是 \"bool\"",
"默认成员比较运算符必须为 \"const\"",
"此类中定义了多个默认的太空船运算符",
"协同程的 promise 类型 %t 不能同时设置 \"return_void\" 和 \"return_value\"",
null,
"协同程的 promise 类型 %t 不能同时设置 \"return_void\" 和 \"return_value\"",
"“return_value”已声明 %p",
"\"return_void\" 已声明 %p",
"当 %t 在 %n 末尾没有 \"return_void\" 时,缺少 co_return 语句",
"对于协同程状态分配,找不到全局 \"operator new\" 的 nothrow 变体",
"对于协同程状态解除分配,找不到可行的 \"operator delete\"",
"constexpr 函数不能是协同程",
"对于协同程状态分配,找不到全局 \"operator new\" 的 nothrow 变体",
"对于协同程状态解除分配,找不到可行的 \"operator delete\"",
"constexpr 函数不能是协同程",
"此 %s 表达式的操作数解析为非类 %t",
"静态初始化表达式中不允许使用 co_await 表达式",
"调用 %n 的 co_await 表达式必须是非引发的",
@@ -3188,7 +3188,190 @@
"重要 Microsoft 属性字段不支持默认比较运算符",
"标准比较类型(%t)必须是具有单个整型非静态数据成员的类类型",
"未在 %t 中找到任何 constexpr 静态数据成员 %sq",
"元素数(%d)太大,无法动态分配",
"constexpr 动态分配请求过大",
"解除分配未动态分配的存储",
"解除分配大小(%d1)与分配的大小(%d2)不对应",
"此处发生了分配",
"解除分配类型(%t1)与分配类型(%t2)不对应",
"某些动态分配(总数 = %d)未解除分配",
"使用意外签名(类型 %t)声明了内部 %n",
">> std::__report_constexpr_value 的输出",
">> 结束 std::__report_constexpr_value 的输出",
"无法在 constexpr 计算中使用大小取决于数组的数组",
"忽略使用 \"nodiscard\" 属性(%sq)声明的例程的返回值",
"忽略具有 \"nodiscard\" 属性(%sq)的返回值类型",
"用于创建已放弃对象的构造函数具有 \"nodiscard\" 属性",
"用于创建已放弃对象的构造函数具有 \"nodiscard\" 属性(%sq)",
"已放弃对象的类型具有 \"nodiscard\" 属性",
"已放弃对象的类型具有 \"nodiscard\" 属性(%sq)",
"伪析构函数引用仅可用于伪析构函数调用",
"常数表达式中不允许使用显式析构函数调用",
"数组下标表达式中未带圆括号的逗号运算符已弃用",
"对于初始化表达式,动态分配的元素数(%d)太小",
"%s 表达式的可变操作数已弃用",
"不建议使用易失标量对象的赋值结果",
"复合赋值表达式的易失目标类型已弃用",
"易失函数参数已弃用",
"易失返回类型已弃用",
"不推荐在结构化绑定上使用易失限定符",
"\"ext_vector_type\" 参数必须介于 1 到 2047 之间",
"\"ext_vector_type\" 属性只能出现在 typedef 中",
"\"ext_vector_type\" 属性仅适用于整数或浮点类型",
"在当前编译模式下,忽略了此功能测试宏(并返回 0)",
"无法使用联合的多个元素计算聚合初始值设定项",
"为运算符重写选择的 %nd 不返回布尔类型",
"无法对调用类专属分配函数的 new-expression 进行常量计算",
"无法对 placement new 表达式进行常量计算",
"需使用虚拟析构函数才能通过子对象指针删除",
"%npTd,带逆序参数",
"__INTADDR__ 的操作数必须是从空指针算起的偏移量",
"泛型构造与多个类型相匹配(_G)",
"另一匹配是 %t",
"已忽略此处使用的 \"availability\" 属性",
"在基于范围的 \"for\" 语句中,C++20 样式的初始化表达式语句在此模式下不是标准的",
"co_await 只能应用到基于范围的 for 语句",
"无法在基于范围的 \"for\" 循环中推断范围类型",
"内联变量是 C++17 功能",
"销毁运算符 delete 需要 %t 作为第一个参数",
"销毁运算符 delete 不能具有 std::size_t 和 std::align_val_t 以外的参数",
"宽松抽象类选项只能在编译 C++ 时使用",
"requires 子句中表达式的开头无效",
"requires 子句中的强制转换表达式必须放在括号中",
"此运算符不能出现在 requires 子句的顶层(不带括号)",
"原子约束必须具有 bool 类型",
"原子约束未能替换",
"原子约束不是常量",
"原子约束的计算结果为 false",
"不满足模板约束",
"概念定义不能出现在此范围内",
"%nd 的重新声明无效",
"concept-id 的参数 %T 替换失败",
"参数 %T 的概念为 false",
"此处不允许使用 requires 子句(不是模板化函数)",
"概念模板",
"requires 子句与 %nfd 不兼容",
"预期特性",
null,
"预期类型名称",
"requires 表达式中不允许使用省略号参数",
"requires 表达式中未命名的参数不起任何作用",
"预期概念名称",
"在常量表达式中出现的对 %s 的调用始终产生 \"true\"",
"在 consteval 上下文中出现的对 %s 的调用始终产生 \"true\"",
"在非 constexpr 函数中出现的对 %s 的调用始终产生 \"false\"",
"%t 的类型约束失败",
"在启用 C++ 模块的模式中,不能使用选项“导出”",
"全局模块片段声明必须位于任何其他声明之前",
"模块声明前面只能是全局模块片段",
"专用模块片段前面必须有模块声明",
"无法导出 %s 模块片段",
"不能声明一个以上的模块",
"不能声明一个以上的 %s 模块片段",
"必须使用非空名称声明模块",
"%sq 不是可导入标头",
"不能导入没有名称的模块",
"模块不能与自身有接口依赖关系",
"已导入模块 %sq",
"模块文件",
"找不到可导入的模块文件 %sq",
"无法导入模块文件 %sq"
"找不到模块 %sq 的模块文件",
"无法导入模块文件 %sq",
"预期 %s1,但找到 %s2",
"打开模块文件 %sq 时",
"未知的分区名称 %sq",
"未知模块文件",
"可导入标头模块文件",
"EDG 模块文件",
"IFC 模块文件",
"意外的模块文件",
"第二个操作数的类型 %t2 必须与 %t1 大小相同",
"类型必须可轻松复制",
"类型 %t 当前不支持对 __builtin_bit_cast 进行 constexpr 计算",
"位域为 %t 的类类型当前不支持对 __builtin_bit_cast 进行 constexpr 计算",
"引用类型 %t 的非静态数据成员阻止对 __builtin_bit_cast 进行 constexpr 计算",
"易失类型 %t 阻止对 __builtin_bit_cast 进行 constexpr 计算",
"联合类型、指针类型或指向成员的指针类型 %t 阻止对 __builtin_bit_cast 进行 constexpr 计算",
"%npTd,已通过使用 decl %p 继承",
"无法为继承构造函数执行 %t 的子对象构造 -- 已删除隐式默认构造函数",
"%n 必须返回 void",
"成员声明的开头无效",
"应为 \"auto\"",
"此位置不允许使用此运算符;请前面的新表达式括起来",
"概念的使用无效",
"默认成员比较运算符不能是 \"&&\" 限定",
"默认的 constexpr 比较函数会调用非 constexpr 函数 %nd",
"只有整数或数组整数对象支持 constexpr 内存比较",
"概念模板不能具有关联约束",
"不允许使用 \"export\"",
"不允许导出单个类成员",
"导出的声明必须引入名称",
"导出声明不能包含导出声明(以前的声明 %p)",
"导出声明不能包含模块导入声明",
"导出声明只能出现在模块接口单元中",
"导出声明无法导出具有内部链接的名称",
"using 声明包括 %nfd",
"内置函数不可用,因为不支持 __fp16 浮点类型",
"requires 表达式必须指定至少一个要求",
"\"constinit\" 在此处无效",
"\"constinit\" 仅对具有静态或线程存储持续时间的变量的声明有效",
"constinit 变量需要动态初始化",
"以前使用 \"constinit\" %p 声明了变量",
"使用非原型函数声明符",
"参数不能具有常量限定类型",
"不允许使用不完整类型 %t 的指向成员的指针",
"此模式下未启用 init-capture 中的包扩展",
"init-capture 中的包扩展是 C++ 20 功能",
"类定义中默认的比较运算符必须是该比较运算符的第一个声明(%nd)",
"init-capture 中的包扩展只能在可变参数模板中使用",
"类型约束使用不是类型概念的 %nd (即,第一个参数为类型参数的概念模板)",
"推导出的占位符类型 %t 未能通过类型约束",
"%t 的默认构造函数不合格",
"%t 的析构函数不明确,因为存在未排序的约束",
"由于约束失败,%t 的析构函数不合格",
"析构函数候选项不明确",
"虚函数不能有尾随 requires 子句",
"%nd 不满足其约束",
"decltype 限定符的结果 %t 不是类或枚举",
"标准 C++20 中的比较不明确,因为连接反向参数的隐式比较运算符的比较结果表示了同等好的匹配--这通常是由于比较运算符中缺少 \"const\" 限定符造成的; 请参阅 %nod",
"concept-id 无效",
"requires-clause 的参数 %T 替换失败",
"不满足 %nd 的约束",
"constexpr 函数中变量类型 %t 具有虚拟基类",
"常数表达式无法为类型 %t 分配虚拟基子对象",
"类类型的模板参数必须是结构类类型",
"对 UTF-8 文本的支持需要 u 文本支持。",
"多次为“%s”指定了模块文件映射",
"多次为“%s”指定了标头单元映射",
"未为“%s”指定映射",
"“%s”的模块文件映射无效",
"找不到要导入的标头“%s”",
"模块文件列表中有多个文件与“%s”匹配",
"为“%s”找到的模块文件用于其他模块",
"任何类型的模块文件",
"无法读取模块文件",
"内置函数不可用,因为当前选项不支持 char8_t 类型",
"如果启用了 C++20 协同程序,则无法指定 --ms_await 命令行选项",
"对默认聚合元素初始化使用显式构造函数 %nod 不是标准做法",
"与 memcpy 类似的固有项的源或目标不指向对象",
"与 memcpy 类似的固有项尝试复制在表达上不同的类型 %t1 和 %t2",
"与 memcpy 类似的固有项尝试复制非平凡可复制类型 %t",
"与 memcpy 类似的固有项尝试复制部分对象",
"与 memcpy 类似的固有项尝试复制过去的数组边界",
"与 memcpy 类似的固有项尝试复制重叠的字节范围(改为使用相应的 memmove 操作)",
"带有尾随 requires 子句的 friend 声明必须是一个定义",
"表达式必须包含算术或指针类型,但它具有类型 %t",
"表达式必须包含算术、枚举或指针类型,但它具有类型 %t",
"表达式必须包含算术、未区分范围的枚举或指针类型,但它具有类型 %t",
"表达式必须包含指针类型,但它具有类型 %t",
"运算符 -> 或 ->* 应用于 %t 而不是指针类型",
"不允许使用不完整的类类型 %t",
"无法解释此编译目标的位布局",
"IFC 运算符 %sq 没有对应的运算符",
"IFC 调用约定 %sq 没有相应的调用约定",
"模块 %sq 包含不受支持的构造",
"不支持的 IFC 构造: %sq",
"__is_signed 不再是从此点开始的关键字",
"数组维度必须具有常量无符号整数值",
"IFC 文件 %sq 具有不受支持的版本 %d1。%d2",
"此模式中没有启用模块"
]
-7
View File
@@ -1,7 +0,0 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op" : "merge"
}
-17
View File
@@ -1,17 +0,0 @@
{
"defaults": [
"-D_MSC_EXTENSIONS",
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1923",
"--pack_alignment",
"8",
"-D_MSC_VER=1923",
"-D_MSC_FULL_VER=192327820",
"-D_MSC_BUILD=0",
"-D_M_IX86=600",
"-D_M_IX86_FP=2"
],
"defaults_op" : "merge"
}
-7
View File
@@ -1,7 +0,0 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op" : "merge"
}
-7
View File
@@ -1,7 +0,0 @@
{
"defaults": [
"--pack_alignment",
"8"
],
"defaults_op" : "merge"
}
-17
View File
@@ -1,17 +0,0 @@
{
"defaults": [
"-D_MSC_EXTENSIONS",
"--microsoft",
"--microsoft_bugs",
"--microsoft_version",
"1923",
"--pack_alignment",
"8",
"-D_MSC_VER=1923",
"-D_MSC_FULL_VER=192327820",
"-D_MSC_BUILD=0",
"-D_M_IX86=600",
"-D_M_IX86_FP=2"
],
"defaults_op" : "merge"
}

Some files were not shown because too many files have changed in this diff Show More