forked from commonmark/cmark
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Has something changed since #35? I thought these were needed to be able to build properly. |
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.