Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove extra defines on Windows #68

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jan 4, 2024

These should be provided by the proper inclusion of Windows.h. This seems to currently properly function without the macros, so remove the extra macros.

These should be provided by the proper inclusion of `Windows.h`.  This
seems to currently properly function without the macros, so remove the
extra macros.
@QuietMisdreavus
Copy link

Has something changed since #35? I thought these were needed to be able to build properly.

@compnerd
Copy link
Member Author

compnerd commented Jan 4, 2024

I think that fixes to clang might be involved here. However, I was able to build with this change with a recent toolchain, so it makes sense to clean up the build.

Building for debugging...
S:\SourceCache\apple\swift-cmark\bin\main.c:278:16: warning: 'fopen' is deprecated: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
  278 |     FILE *fp = fopen(argv[files[i]], "rb");
      |                ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h:212:20: note: 'fopen' has been explicitly marked deprecated here
  212 |     _Check_return_ _CRT_INSECURE_DEPRECATE(fopen_s)
      |                    ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
  355 |         #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
      |                                                       ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
  345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
      |                                               ^
S:\SourceCache\apple\swift-cmark\bin\main.c:281:15: warning: 'strerror' is deprecated: This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
  281 |               strerror(errno));
      |               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:177:16: note: 'strerror' has been explicitly marked deprecated here
  177 | _Check_return_ _CRT_INSECURE_DEPRECATE(strerror_s)
      |                ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
  355 |         #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
      |                                                       ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
  345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
      |                                               ^
2 warnings generated.
S:\SourceCache\apple\swift-cmark\api_test\main.c:831:5: warning: 'strcpy' is deprecated: This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
  831 |     strcpy(expected, "<p>((((" UTF8_REPL "\x20");
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:130:1: note: 'strcpy' has been explicitly marked deprecated here
  130 | __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
      | ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:835:5: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1'
  835 |     __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _FuncName##_s, _DstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:1894:17: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
 1894 |                 _CRT_INSECURE_DEPRECATE(_SecureFuncName) _DeclSpec _ReturnType __cdecl _FuncName(_SalAttributeDst _DstType *_Dst, _TType1 _TArg1);
      |                 ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
  355 |         #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
      |                                                       ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
  345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
      |                                               ^
S:\SourceCache\apple\swift-cmark\api_test\main.c:833:7: warning: 'strcat' is deprecated: This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
  833 |       strcat(expected, UTF8_REPL);
      |       ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:91:5: note: 'strcat' has been explicitly marked deprecated here
   91 |     __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:835:5: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1'
  835 |     __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _FuncName##_s, _DstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:1894:17: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
 1894 |                 _CRT_INSECURE_DEPRECATE(_SecureFuncName) _DeclSpec _ReturnType __cdecl _FuncName(_SalAttributeDst _DstType *_Dst, _TType1 _TArg1);
      |                 ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
  355 |         #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
      |                                                       ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
  345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
      |                                               ^
S:\SourceCache\apple\swift-cmark\api_test\main.c:835:5: warning: 'strcat' is deprecated: This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
  835 |     strcat(expected, "))))</p>\n");
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:91:5: note: 'strcat' has been explicitly marked deprecated here
   91 |     __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1(
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:835:5: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1'
  835 |     __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _FuncName##_s, _DstType, _SalAttributeDst, _DstType, _Dst, _TType1, _TArg1)
      |     ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h:1894:17: note: expanded from macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
 1894 |                 _CRT_INSECURE_DEPRECATE(_SecureFuncName) _DeclSpec _ReturnType __cdecl _FuncName(_SalAttributeDst _DstType *_Dst, _TType1 _TArg1);
      |                 ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
  355 |         #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
      |                                                       ^
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
  345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
      |                                               ^
3 warnings generated.
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_gfm_core_extensions_ensure_registered (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_extensions.build\core-extensions.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_parser_new (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_find_syntax_extension (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\registry.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_parser_attach_syntax_extension (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_parser_feed (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_parser_finish (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_parser_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_node_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_release_plugins (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\registry.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_get_default_mem_allocator (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_list_syntax_extensions (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\registry.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_llist_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\linked_list.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_html_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\html.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_xml_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\xml.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_man_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\man.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_commonmark_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\commonmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_plaintext_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\plaintext.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_bin.build\main.c.o: locally defined symbol imported: cmark_render_latex_with_mem (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\latex.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\cplusplus.cpp.o: locally defined symbol imported: cmark_markdown_to_html (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_new (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_append_child (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_enable_safety_checks (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_version (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_version_string (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_type (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_heading_level (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_list_type (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_list_delim (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_list_start (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_list_tight (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parse_document (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_first_child (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_next (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_literal (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_fence_info (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_start_line (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_start_column (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_end_line (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_url (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_title (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_heading_level (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_list_type (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_list_delim (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_list_start (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_list_tight (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_literal (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_fence_info (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_url (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_title (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_html (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\html.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_check (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_iter_new (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\iterator.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_iter_next (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\iterator.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_iter_get_node (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\iterator.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_iter_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\iterator.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_insert_before (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_insert_after (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_parent (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_prepend_child (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_last_child (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_previous (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_replace (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_unlink (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_on_enter (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_set_on_exit (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_on_enter (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_on_exit (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_man (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\man.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_xml (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\xml.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_latex (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\latex.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_commonmark (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\commonmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_render_plaintext (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\plaintext.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_markdown_to_html (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parser_new (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parser_feed (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parser_finish (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parser_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_gfm_core_extensions_ensure_registered (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm_extensions.build\core-extensions.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_syntax_extension_new (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\syntax_extension.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_syntax_extension_set_private (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\syntax_extension.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_syntax_extension_set_match_inline_func (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\syntax_extension.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_find_syntax_extension (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\registry.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_parser_attach_syntax_extension (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\blocks.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_get_default_mem_allocator (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\cmark.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_syntax_extension_free (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\syntax_extension.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_node_get_attributes (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\node.c.o) [LNK4217]
lld-link: warning: S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.build\main.c.o: locally defined symbol imported: cmark_syntax_extension_get_private (defined in S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\cmark_gfm.build\syntax_extension.c.o) [LNK4217]
[42/42] Linking S:\SourceCache\apple\swift-cmark\.build\x86_64-unknown-windows-msvc\debug\api_test.exe
Build complete! (8.61s)

@compnerd compnerd merged commit 2b633c5 into swiftlang:gfm Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants