summaryrefslogtreecommitdiff
path: root/libcmark-gfm-extensions/libcmark-gfm-extensions
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-27 16:54:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-29 10:48:15 +0300
commitf7edc2c3ff634514a6a1bf9d1fac34536bc727ab (patch)
treea6814284587a9ac75f996ea29e2dfeeeb35715ec /libcmark-gfm-extensions/libcmark-gfm-extensions
parentb99870847ed87a37beaab7f5d6f822bac837c274 (diff)
Upgrade to 0.29.0.gfm.2
Diffstat (limited to 'libcmark-gfm-extensions/libcmark-gfm-extensions')
-rw-r--r--libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile6
-rw-r--r--libcmark-gfm-extensions/libcmark-gfm-extensions/cmark-gfm-extensions_export.h28
2 files changed, 15 insertions, 19 deletions
diff --git a/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile b/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile
index 4f44887..c6dadb2 100644
--- a/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile
+++ b/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile
@@ -26,11 +26,9 @@ switch $c.class
# Disable warnings that pop up with -Wextra. Upstream doesn't seem to care
# about these and it is not easy to disable specific warnings in a way
# that works across compilers/version (some -Wno-* options are only
- # recognized in newer versions). There are still some warnings left that
- # appear for certain platforms/compilers. We pass them through but disable
- # treating them as errors.
+ # recognized in newer versions).
#
- c.coptions += -Wno-extra -Wno-error
+ c.coptions += -Wno-extra
}
case 'msvc'
{
diff --git a/libcmark-gfm-extensions/libcmark-gfm-extensions/cmark-gfm-extensions_export.h b/libcmark-gfm-extensions/libcmark-gfm-extensions/cmark-gfm-extensions_export.h
index bfafe32..d02783a 100644
--- a/libcmark-gfm-extensions/libcmark-gfm-extensions/cmark-gfm-extensions_export.h
+++ b/libcmark-gfm-extensions/libcmark-gfm-extensions/cmark-gfm-extensions_export.h
@@ -5,37 +5,35 @@
#ifndef CMARK_GFM_EXTENSIONS_EXPORT_H
#define CMARK_GFM_EXTENSIONS_EXPORT_H
-/*
- * The upstream's version of this file is auto-generated by cmake. We implement
- * it from scratch (see cmark-gfm_export.h for details).
+/* The upstream's version of this file is auto-generated by cmake. We
+ * implement it from scratch (see cmark-gfm_export.h for details).
*/
-#if defined(CMARK_GFM_EXTENSIONS_STATIC) // Using static.
+#if defined(CMARK_GFM_EXTENSIONS_STATIC) /* Using static. */
# define CMARK_GFM_EXTENSIONS_EXPORT
-#elif defined(CMARK_GFM_EXTENSIONS_STATIC_BUILD) // Building static.
+#elif defined(CMARK_GFM_EXTENSIONS_STATIC_BUILD) /* Building static. */
# define CMARK_GFM_EXTENSIONS_EXPORT
-#elif defined(CMARK_GFM_EXTENSIONS_SHARED) // Using shared.
+#elif defined(CMARK_GFM_EXTENSIONS_SHARED) /* Using shared. */
# ifdef _WIN32
# define CMARK_GFM_EXTENSIONS_EXPORT __declspec(dllimport)
# else
# define CMARK_GFM_EXTENSIONS_EXPORT
# endif
-#elif defined(CMARK_GFM_EXTENSIONS_SHARED_BUILD) // Building shared.
+#elif defined(CMARK_GFM_EXTENSIONS_SHARED_BUILD) /* Building shared. */
# ifdef _WIN32
# define CMARK_GFM_EXTENSIONS_EXPORT __declspec(dllexport)
# else
# define CMARK_GFM_EXTENSIONS_EXPORT __attribute__((visibility("default")))
# endif
#else
-// If none of the above macros are defined, then we assume we are being used
-// by some third-party build system that cannot/doesn't signal the library
-// type. Note that this fallback works for both static and shared but in case
-// of shared will be sub-optimal compared to having dllimport.
-//
-# define CMARK_GFM_EXTENSIONS_EXPORT // Using static or shared.
+/* If none of the above macros are defined, then we assume we are being used
+ * by some third-party build system that cannot/doesn't signal the library
+ * type. Note that this fallback works for both static and shared but in case
+ * of shared will be sub-optimal compared to having dllimport.
+ */
+# define CMARK_GFM_EXTENSIONS_EXPORT /* Using static or shared. */
#endif
-/*
- * Undefining these cmake-generated macros is not technically required, but
+/* Undefining these cmake-generated macros is not technically required, but
* let's keep them for the record.
*/
#undef CMARK_GFM_EXTENSIONS_NO_EXPORT