Coder Social home page Coder Social logo

cmarkgfm's Introduction

cmarkgfm - Python bindings to GitHub's cmark

Minimalist Python bindings to GitHub's fork of cmark.

Installation

This package is published on PyPI as cmarkgfm and can be installed with pip or `pipenv`:

pip install --user cmarkgfm
pipenv install cmarkgfm

Wheels are provided for macOS, Linux, and Windows for Python 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11.

Usage

High-level usage is really straightforward. To render normal CommonMark markdown:

To render GitHub-flavored markdown:

Advanced Usage

Options

Both rendering methods markdown_to_html and github_flavored_markdown_to_html have an optional options argument that can be used to activate options of cmark. For example:

The options are:

Option Effect
CMARK_OPT_UNSAFE (>=0.5.0) Allows rendering unsafe HTML and links.
CMARK_OPT_SAFE (<0.5.0) Prevents rendering unsafe HTML and links.
CMARK_OPT_SMART Render curly quotes, en/em-dashes, ellipses
CMARK_OPT_NORMALIZE Consolidate adjacent text nodes.
CMARK_OPT_HARDBREAKS Renders line breaks within paragraphs as <br>
CMARK_OPT_NOBREAKS Render soft line breaks as spaces.
CMARK_OPT_SOURCEPOS Adds data-sourcepos to HTML tags indicating the corresponding line/col ranges in the input
CMARK_OPT_FOOTNOTES Parse footnotes.
CMARK_OPT_VALIDATE_UTF8 Validate UTF-8 in the input before parsing, replacing illegal sequenceswith the replacement character U+FFFD.
CMARK_OPT_GITHUB_PRE_LANG Use GitHub-style tags for code blocks.
CMARK_OPT_LIBERAL_HTML_TAG Be liberal in interpreting inline HTML tags.
CMARK_OPT_STRIKETHROUGH_DOUBLE_TILDE Only parse strikethroughs if surrounded by exactly 2 tildes. Gives some compatibility with redcarpet.
CMARK_OPT_TABLE_PREFER_STYLE_ATTRIBUTES Use style attributes to align table cells instead of align attributes.

Unsafe rendering

Since version 0.5.0, the default behavior is safe. In earlier versions, the default behavior is unsafe, as described below. To render potentially unsafe HTML since 0.5.0 pass the CMARK_OPT_UNSAFE option.

CommonMark can render potentially unsafe HTML, including raw HTML, raw Javascript, and potentially unsafe links (including links that run scripts). Although github_flavored_markdown_to_html prevents some raw HTML tags (including script) from being rendered, it does not block unsafe URLs in links.

Therefore it is recommend to call the rendering method with the SAFE option turned on. The safe option does not render raw HTML or potentially dangerous URLs. (Raw HTML is replaced by a placeholder comment; potentially dangerous URLs are replaced by empty strings.) Dangerous URLs are those that begin with javascript:, vbscript:, file:, or data: (except for image/png, image/gif, image/jpeg, or image/webp mime types) To do this, use:

If you trust the markdown text to not include any unsafe tags and links, then you may skip this.

Contributing

Pull requests are welcome. :)

License

This project is under the MIT License. It includes components under differing copyright under the third_party directory in this source tree.

cmarkgfm's People

Contributors

andrew-chen-wang avatar anthrotype avatar averms avatar bmwiedemann avatar danigm avatar dotlambda avatar felixonmars avatar felixwilhelm avatar jessevermeulen123 avatar joshdata avatar madig avatar mbarkhau avatar mgedmin avatar michael-k avatar nschloe avatar odidev avatar olasd avatar theacodes avatar venland avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmarkgfm's Issues

Exposing tree iteration and node accessors

Hey there,

I've already asked this at your sister-project (zopieux/pycmarkgfm#2) but would like to repeat my question here so I can have clarification how to move forward.

While searching for a way to turn Markdown/Commonmark/GFM into a JSON representation (something like mdast preferably) I came across your library/ies. To be able to accomplish this I'd need access to the tree iteration functions (cmark_iter_*) as well as the node accessors (like cmark_node_get_literal, cmark_node_get_heading_level and so on).

The first part is already available in pycmarkgfm/cmark.cffi.h#L50ff the rest seems equally easy to do.

Before putting in the work to implement this would you accept a pull request with these changes? If yes should I include my mdast output function? And since I'm looking for a stable, maintained dependency for my project here: Are you planing to continue working on this library? (I can see myself helping a bit with that here and there.)

Rendering <script> tags

When using the upstream CLI, it renders <script> tags when using --unsafe:

$ echo "<script></script>" > src.md
$ cmark-gfm --unsafe src.md
<script></script>
$ cmark-gfm --version
cmark-gfm 0.29.0.gfm.6 - CommonMark with GitHub Flavored Markdown converter
(C) 2014-2016 John MacFarlane

I would expect this library to do the same, but the result is escaped:

>>> from cmarkgfm import github_flavored_markdown_to_html
>>> from cmarkgfm.cmark import Options
>>> text = "<script></script>"
>>> github_flavored_markdown_to_html(text, Options.CMARK_OPT_UNSAFE)
'&lt;script>&lt;/script>\n'

I'm using cmarkgfm==2022.10.27. Is this expected behavior? If so, is there a way to get the script tags to render? (this is for trusted input)

Wheel Build Automation

If it's not too much trouble, could you build and upload wheels for Python 3.8 to pypi. For now I guess I'll have to add gcc to my docker image.

2022.10.27: build fails because gcc cannot find cmark-gfm.h

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/cmarkgfm
copying src/cmarkgfm/__init__.py -> build/lib.linux-x86_64-cpython-38/cmarkgfm
copying src/cmarkgfm/build_cmark.py -> build/lib.linux-x86_64-cpython-38/cmarkgfm
copying src/cmarkgfm/cmark.py -> build/lib.linux-x86_64-cpython-38/cmarkgfm
running egg_info
creating src/cmarkgfm.egg-info
writing src/cmarkgfm.egg-info/PKG-INFO
writing dependency_links to src/cmarkgfm.egg-info/dependency_links.txt
writing requirements to src/cmarkgfm.egg-info/requires.txt
writing top-level names to src/cmarkgfm.egg-info/top_level.txt
writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
reading manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'third_party/cmark/src'
warning: no files found matching '*.h' under directory 'third_party/cmark/src'
warning: no files found matching '*.inc' under directory 'third_party/cmark/src'
warning: no files found matching '*.c' under directory 'third_party/cmark/extensions'
warning: no files found matching '*.h' under directory 'third_party/cmark/extensions'
warning: no files found matching '*.inc' under directory 'third_party/cmark/extensions'
warning: no files found matching 'third_party/cmark/COPYING'
adding license file 'LICENSE.txt'
writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
copying src/cmarkgfm/cmark.cffi.h -> build/lib.linux-x86_64-cpython-38/cmarkgfm
copying src/cmarkgfm/cmark_module.h -> build/lib.linux-x86_64-cpython-38/cmarkgfm
running build_ext
generating cffi module 'build/temp.linux-x86_64-cpython-38/cmarkgfm._cmark.c'
creating build/temp.linux-x86_64-cpython-38
building 'cmarkgfm._cmark' extension
creating build/temp.linux-x86_64-cpython-38/build
creating build/temp.linux-x86_64-cpython-38/build/temp.linux-x86_64-cpython-38
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.10.27/third_party/cmark/src -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.10.27/third_party/cmark/extensions -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.10.27/generated/unix -I/usr/include/python3.8 -c build/temp.linux-x86_64-cpython-38/cmarkgfm._cmark.c -o build/temp.linux-x86_64-cpython-38/build/temp.linux-x86_64-cpython-38/cmarkgfm._cmark.o -std=c99
build/temp.linux-x86_64-cpython-38/cmarkgfm._cmark.c:578:10: fatal error: cmark-gfm.h: No such file or directory
  578 | #include "cmark-gfm.h"
      |          ^~~~~~~~~~~~~
compilation terminated.

That header file is in source tree so looks like -I option os missing.

test test_github_flavored_markdown_to_html_tasklist failing

gentoo CI had a test failure


=================================== FAILURES ===================================
________________ test_github_flavored_markdown_to_html_tasklist ________________

    def test_github_flavored_markdown_to_html_tasklist():
        text = u"- [X] Task 1 Done\n- [ ] Task 2 Incomplete"
        result = cmark.github_flavored_markdown_to_html(text)
        expected = """
            <ul>
            <li><input type="checkbox" checked="" disabled="" /> Task 1 Done</li>
            <li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>
            </ul>
        """
>       assert _normalize_ws(result) == _normalize_ws(expected)
E       assert ('<ul>\n'\n '<li><input type="checkbox" disabled="" /> Task 1 Done</li>\n'\n '<li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>\n'\n '</ul>') == ('<ul>\n'\n '<li><input type="checkbox" checked="" disabled="" /> Task 1 Done</li>\n'\n '<li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>\n'\n '</ul>')
E           <ul>
E         - <li><input type="checkbox" checked="" disabled="" /> Task 1 Done</li>
E         ?                            -----------
E         + <li><input type="checkbox" disabled="" /> Task 1 Done</li>
E           <li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>
E           </ul>

expected   = ('\n'
 '        <ul>\n'
 '        <li><input type="checkbox" checked="" disabled="" /> Task 1 '
 'Done</li>\n'
 '        <li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>\n'
 '        </ul>\n'
 '    ')
result     = ('<ul>\n'
 '<li><input type="checkbox" disabled="" /> Task 1 Done</li>\n'
 '<li><input type="checkbox" disabled="" /> Task 2 Incomplete</li>\n'
 '</ul>\n')
text       = '- [X] Task 1 Done\n- [ ] Task 2 Incomplete'

tests/test_cmark.py:56: AssertionError
=========================== short test summary info ============================
FAILED tests/test_cmark.py::test_github_flavored_markdown_to_html_tasklist - ...
========================= 1 failed, 10 passed in 0.27s =========================
 * ERROR: dev-python/cmarkgfm-2022.3.4::guru failed (test phase):
 *   pytest failed with pypy3

see https://bugs.gentoo.org/835527
full log https://835527.bugs.gentoo.org/attachment.cgi?id=767291

New Release

Hi all, in light of #43 is it possible to get a new release on PyPI?

0.8 or 2022.3.4

The repository here has the last tag as 2022.3.4 but no 0.8
Pypi.org has 0.8 but no 2022.3.4
Why?
What is the last release?

Python 3.11 Wheels

I am sure it is hand, but creating an issue to track the generation of wheels for Python 3.11

system library

Can you provide a way to use the system library libcmark-gfm.so? I'm packaging this for gentoo and we have a policy to unbundle libraries.

Github Dark Mode Image Support

I was directed here from pypi/warehouse#11251.

What's the problem this feature will solve?
Github supports rendering a specific image for light vs. dark mode by actually specifying two images. Here's an example PR: getsentry/sentry#33799

However when the .md file is rendered elsewhere (like pypi) it would show up as 2 images.

Describe the solution you'd like

I'm wondering if it would make sense to have an option that would let you specify light / dark mode when rendering and hide / show the images as they do on Github? Defaulting to rendering light mode only or ignoring the mode probably makes sense.

Additional context

Update to 0.29.0.gfm.11

I've noticed that there's an upstream update that we might want to upgrade to.

Notable: GHSA-66g8-4hjf-77xh

Changelog: https://github.com/github/cmark-gfm/blob/2d65cd3c4bfbbdddc7accefc76392c16bb0cfb6d/changelog.txt#L1-L62
Changeset: github/cmark-gfm@0.29.0.gfm.6...0.29.0.gfm.11

Also note: github/cmark-gfm#289 removes the export of extensions/cmark-gfm-extensions_export.h so the noxfile will need to be updated and copied files can be purged.

I took a stab at running the update, but I don't have a Windows machine to validate, and noticed there wasn't any Windows testing in GitHub Actions, so I wanted to raise this before attempting any further action.

0.4.2 behavior not lining up with documentation

Is it just me or does the behavior outlined in the README of CMARK_OPT_UNSAFE not apply to the current latest in PyPI (0.4.2)? Pretty odd because the README says >= 0.4.0 for the new behavior.

Is this library still maintained and will there be a new release for it?

codeblocks: <pre lang=""> vs <pre><code class="">

On GitHub, the HTML preserves the language attribute (if given)

<pre lang="python">
...
</pre>

This is somehow not properly reflected in cmarkgfm:

import cmarkgfm

html = cmarkgfm.github_flavored_markdown_to_html("""
```python
a + 1
```""")

print(html)
<pre><code class="language-python">a + 1
</code></pre>

Any idea what might cause this discrepancy?

Python 3.4 Windows wheels on PyPI

Today I noticed that restview is no longer installable on Windows machines with no C compiler because it indirectly depends on cmarkgfm. I'm happy to see in the README that you plan to build and upload binary wheels to PyPI. Do you need help?

(I usually do this sort of thing by cargo-culting zope.interface's appveyor.yml, which is short and simple. If you've never used Appveyor before, the password encryption mechanism may raise questions, but everything else should be self-explanatory.)

Add support to release aarch64 wheels

Problem

On aarch64, pip install cmarkgfm builds the wheels from source code and then install it. It requires user to have development environment installed on his system. also, it take some time to build the wheels than downloading and extracting the wheels from pypi.

Resolution

On aarch64, pip install cmarkgfm should download the wheels from pypi

@mbarkhau, please let me know your interest on releasing aarch64 wheels. I can help in this.

Where is the rendered `.html` output file located?

Using

import cmarkgfm

current_path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(current_path, 'FILE.md'), 'r') as f:
    text = f.readlines()
html = cmarkgfm.github_flavored_markdown_to_html(''.join(text))

produce nothing.

Adding

with open(os.path.join(current_path, 'FILE.html'), 'a') as f:
    f.write(html)

Create plain html format

Why the regression in versioning?

Calendar versioning is less usable and less informative for downstream users, especially packagers (Arch Linux packager here). Additionally now there is a disparity between Git tags and the internal version marker and even the PyPi release. Can we please just tag the semver as well? Thanks for considering.

memory leak

Memory doesn't seem to ever get released.

Run github_flavored_markdown_to_html() without any assignments or anything else in a loop, and it will blow up until windows BSODs. (Haven't tried on Linux yet, as this is supposed to be used on win as well.)

Am I missing some crucial step, or is this a bug? I tried manually calling the GC in the loop, but that only made it slower, and didn't release memory.

"ImportError: Permission denied" on CygWin on "import _cffi_backend as backend"

When trying to install cmarkgfm 0.4.2 on Cygwin, we get this error in Appveyor (link to the build for some Python versions: https://ci.appveyor.com/project/KSchopmeyer/pywbemtools/builds/31482928):

Collecting cmarkgfm>=0.4.2
  Downloading cmarkgfm-0.4.2.tar.gz (133 kB)
    ERROR: Command errored out with exit status 1:
     command: /cygdrive/c/projects/pywbemtools/.tox/cygwin64_py38/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5zucu9ti/cmarkgfm/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5zucu9ti/cmarkgfm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-5zucu9ti/cmarkgfm/pip-egg-info
         cwd: /tmp/pip-install-5zucu9ti/cmarkgfm/
    Complete output (27 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-5zucu9ti/cmarkgfm/setup.py", line 27, in <module>
        setup(
      File "/cygdrive/c/projects/pywbemtools/.tox/cygwin64_py38/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/cygdrive/c/projects/pywbemtools/.tox/cygwin64_py38/lib/python3.8/site-packages/setuptools/dist.py", line 424, in __init__
        _Distribution.__init__(self, {
      File "/usr/lib/python3.8/distutils/dist.py", line 292, in __init__
        self.finalize_options()
      File "/cygdrive/c/projects/pywbemtools/.tox/cygwin64_py38/lib/python3.8/site-packages/setuptools/dist.py", line 706, in finalize_options
        ep.load()(self)
      File "/cygdrive/c/projects/pywbemtools/.tox/cygwin64_py38/lib/python3.8/site-packages/setuptools/dist.py", line 713, in _finalize_setup_keywords
        ep.load()(self, ep.name, value)
      File "/tmp/pip-install-5zucu9ti/cmarkgfm/.eggs/cffi-1.14.0-py3.8-cygwin-3.1.4-x86_64.egg/cffi/setuptools_ext.py", line 217, in cffi_modules
        add_cffi_module(dist, cffi_module)
      File "/tmp/pip-install-5zucu9ti/cmarkgfm/.eggs/cffi-1.14.0-py3.8-cygwin-3.1.4-x86_64.egg/cffi/setuptools_ext.py", line 49, in add_cffi_module
        execfile(build_file_name, mod_vars)
      File "/tmp/pip-install-5zucu9ti/cmarkgfm/.eggs/cffi-1.14.0-py3.8-cygwin-3.1.4-x86_64.egg/cffi/setuptools_ext.py", line 25, in execfile
        exec(code, glob, glob)
      File "src/cmarkgfm/build_cmark.py", line 72, in <module>
        ffibuilder = cffi.FFI()
      File "/tmp/pip-install-5zucu9ti/cmarkgfm/.eggs/cffi-1.14.0-py3.8-cygwin-3.1.4-x86_64.egg/cffi/api.py", line 48, in __init__
        import _cffi_backend as backend
    ImportError: Permission denied
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

The same combination of packages and versions installs fine on Linux (Travis) and on native Windows (Appveyor). It fails on CygWIn (Appveyor)

I also ran this with the order of statements in the requirements file changed such that the referencing package came first and the referenced packages afterwards (specifically: cffi after cmarkgfm), but the issue showed up in the exact same way. I only tried Python 3.7 and 3.8 so far; the issue happens in both versions.

CI Recommendations [meta]

Just two recommendations:

  • Use GitHub actions for your Windows CI rather than AppVeyor.
  • Use GitHub actions to auto publish a patch release for a new cmark-gfm version?

Just thoughts. Great library!

MD: Internal ref link are not rendered

Hello!

For example with this package:
https://pypi.org/project/azure-identity

There is a few link to anchors in that file, for example of MD:

Credentials can be chained together and tried in turn until one succeeds; see
[chaining credentials](#chaining-credentials) for details.

It works fine in Github, see this link:
https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity/README.md#chaining-credentials

It works as well with Sphinx, they generate a div with the right id for that:
image

PyPI on the other end, does not generate any id:
image

I was wondering your thoughts about this? If first of all that's something you would want to eventually support, and if yes what strategy you would apply to achieve it. I can't a PR, but at least will be interested to know your feelings about this :)

Thank you for your work!!!

2022.3.4: pep517 build fails

Looks like some header files are missing

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting dependencies for wheel...
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cmarkgfm
copying src/cmarkgfm/__init__.py -> build/lib.linux-x86_64-3.8/cmarkgfm
copying src/cmarkgfm/build_cmark.py -> build/lib.linux-x86_64-3.8/cmarkgfm
copying src/cmarkgfm/cmark.py -> build/lib.linux-x86_64-3.8/cmarkgfm
running egg_info
creating src/cmarkgfm.egg-info
writing src/cmarkgfm.egg-info/PKG-INFO
writing dependency_links to src/cmarkgfm.egg-info/dependency_links.txt
writing requirements to src/cmarkgfm.egg-info/requires.txt
writing top-level names to src/cmarkgfm.egg-info/top_level.txt
writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
reading manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'third_party/cmark/src'
warning: no files found matching '*.h' under directory 'third_party/cmark/src'
warning: no files found matching '*.inc' under directory 'third_party/cmark/src'
warning: no files found matching '*.c' under directory 'third_party/cmark/extensions'
warning: no files found matching '*.h' under directory 'third_party/cmark/extensions'
warning: no files found matching '*.inc' under directory 'third_party/cmark/extensions'
warning: no files found matching 'third_party/cmark/COPYING'
adding license file 'LICENSE.txt'
writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
copying src/cmarkgfm/cmark.cffi.h -> build/lib.linux-x86_64-3.8/cmarkgfm
copying src/cmarkgfm/cmark_module.h -> build/lib.linux-x86_64-3.8/cmarkgfm
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.8/cmarkgfm._cmark.c'
creating build/temp.linux-x86_64-3.8
building 'cmarkgfm._cmark' extension
creating build/temp.linux-x86_64-3.8/build
creating build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8
/usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.3.4/third_party/cmark/src -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.3.4/third_party/cmark/extensions -I/home/tkloczko/rpmbuild/BUILD/cmarkgfm-2022.3.4/generated/unix -I/usr/include/python3.8 -c build/temp.linux-x86_64-3.8/cmarkgfm._cmark.c -o build/temp.linux-x86_64-3.8/build/temp.linux-x86_64-3.8/cmarkgfm._cmark.o -std=c99
build/temp.linux-x86_64-3.8/cmarkgfm._cmark.c:578:10: fatal error: cmark-gfm.h: No such file or directory
  578 | #include "cmark-gfm.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
[tkloczko@devel-g2v cmarkgfm-2022.3.4]$ grep -r cmark-gfm.h
src/cmarkgfm/cmark_module.h:#include "cmark-gfm.h"
build/lib.linux-x86_64-3.8/cmarkgfm/cmark_module.h:#include "cmark-gfm.h"
build/temp.linux-x86_64-3.8/cmarkgfm._cmark.c:#include "cmark-gfm.h"
[tkloczko@devel-g2v cmarkgfm-2022.3.4]$ find . -name cmark-gfm.h

Missing PyPI Credentials for GH Action

Hi @theacodes

I think there is only one more thing left to get the GH Action working. Can you check if you have configured the secrets for the repository that correspond to these:

      - name: Publish wheels
        env:
          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

Or perhaps you have them configured under different names?

Other renderers?

This looks really nice, I'd love to use it. But I'm missing the XML renderer available in cmark.
Would it be possible to add it to the wrapper?

0.2.0 fails to build on Cygwin

When attempting to update twine (via pip install -U twine), building the wheel for cmarkgfm fails with the following output:

Running setup.py bdist_wheel for cmarkgfm ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-mce2vc2e/cmarkgfm/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-2v435ozh --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.cygwin-2.11.1-x86_64-3.6
  creating build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  copying src/cmarkgfm/build_cmark.py -> build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  copying src/cmarkgfm/cmark.py -> build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  copying src/cmarkgfm/__init__.py -> build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  running egg_info
  writing src/cmarkgfm.egg-info/PKG-INFO
  writing dependency_links to src/cmarkgfm.egg-info/dependency_links.txt
  writing requirements to src/cmarkgfm.egg-info/requires.txt
  writing top-level names to src/cmarkgfm.egg-info/top_level.txt
  reading manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.inc' under directory 'third_party/cmark/extensions'
  writing manifest file 'src/cmarkgfm.egg-info/SOURCES.txt'
  copying src/cmarkgfm/cmark.cffi.h -> build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  copying src/cmarkgfm/cmark_module.h -> build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm
  running build_ext
  generating cffi module 'build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c'
  creating build/temp.cygwin-2.11.1-x86_64-3.6
  building 'cmarkgfm._cmark' extension
  creating build/temp.cygwin-2.11.1-x86_64-3.6/build
  creating build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6
  creating build/temp.cygwin-2.11.1-x86_64-3.6/third_party
  creating build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark
  creating build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src
  creating build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c -o build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o -std=c99
  In file included from build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:501:0:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_find_syntax_extension’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:628:24: warning: implicit declaration of function ‘alloca’; did you mean ‘malloc’? [-Wimplicit-function-declaration]
       x0 = (char const *)alloca((size_t)datasize);
                          ^~~~~~
                          malloc
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:628:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (char const *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_llist_append’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:672:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_mem *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:683:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x1 = (cmark_llist *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:694:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x2 = (void *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_llist_free’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:735:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_mem *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:746:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x1 = (cmark_llist *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_llist_free_full’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:790:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_mem *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:801:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x1 = (cmark_llist *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_markdown_to_html’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:850:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (char const *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_node_get_type’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:894:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_node *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parse_document’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:938:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (char const *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parser_attach_syntax_extension’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:988:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_parser *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:999:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x1 = (cmark_syntax_extension *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parser_feed’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1042:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_parser *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1053:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x1 = (char const *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parser_finish’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1094:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_parser *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parser_free’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1129:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_parser *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_parser_get_syntax_extensions’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1166:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_parser *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c: In function ‘_cffi_f_cmark_render_html’:
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1238:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x0 = (cmark_node *)alloca((size_t)datasize);
            ^
  build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1253:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       x2 = (cmark_llist *)alloca((size_t)datasize);
            ^
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/arena.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/arena.o -std=c99
  In file included from third_party/cmark/src/arena.c:4:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/arena.c:101:12: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator() {
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/blocks.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/blocks.o -std=c99
  In file included from third_party/cmark/src/syntax_extension.h:4:0,
                   from third_party/cmark/src/blocks.c:13:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/buffer.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/buffer.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/buffer.c:12:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/cmark.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/cmark.o -std=c99
  In file included from third_party/cmark/src/registry.h:8:0,
                   from third_party/cmark/src/cmark.c:4:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.c:41:12: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator() {
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/cmark_ctype.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/cmark_ctype.o -std=c99
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/commonmark.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/commonmark.o -std=c99
  In file included from third_party/cmark/src/commonmark.c:8:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/footnotes.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/footnotes.o -std=c99
  In file included from third_party/cmark/src/footnotes.c:1:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/houdini_href_e.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_href_e.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/houdini.h:10,
                   from third_party/cmark/src/houdini_href_e.c:5:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/houdini_html_e.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_html_e.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/houdini.h:10,
                   from third_party/cmark/src/houdini_html_e.c:5:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/houdini_html_u.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_html_u.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/houdini_html_u.c:5:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/html.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/html.o -std=c99
  In file included from third_party/cmark/src/html.c:7:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/inlines.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/inlines.o -std=c99
  In file included from third_party/cmark/src/node.h:11:0,
                   from third_party/cmark/src/inlines.c:7:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/iterator.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/iterator.o -std=c99
  In file included from third_party/cmark/src/node.h:11:0,
                   from third_party/cmark/src/iterator.c:5:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/latex.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/latex.o -std=c99
  In file included from third_party/cmark/src/latex.c:7:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/linked_list.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/linked_list.o -std=c99
  In file included from third_party/cmark/src/linked_list.c:3:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/man.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/man.o -std=c99
  In file included from third_party/cmark/src/man.c:7:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/map.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/map.o -std=c99
  In file included from third_party/cmark/src/chunk.h:7:0,
                   from third_party/cmark/src/map.h:5,
                   from third_party/cmark/src/map.c:1:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/node.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/node.o -std=c99
  In file included from third_party/cmark/src/node.h:11:0,
                   from third_party/cmark/src/node.c:5:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/plaintext.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/plaintext.o -std=c99
  In file included from third_party/cmark/src/node.h:11:0,
                   from third_party/cmark/src/plaintext.c:1:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/plugin.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/plugin.o -std=c99
  In file included from third_party/cmark/src/plugin.h:8:0,
                   from third_party/cmark/src/plugin.c:3:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/references.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/references.o -std=c99
  In file included from third_party/cmark/src/references.c:1:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/registry.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/registry.o -std=c99
  In file included from third_party/cmark/src/registry.c:6:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/render.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/render.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/render.c:2:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/scanners.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/scanners.o -std=c99
  In file included from third_party/cmark/src/chunk.h:7:0,
                   from third_party/cmark/src/scanners.c:3:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/syntax_extension.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/syntax_extension.o -std=c99
  In file included from third_party/cmark/src/syntax_extension.c:4:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/utf8.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/utf8.o -std=c99
  In file included from third_party/cmark/src/buffer.h:10:0,
                   from third_party/cmark/src/utf8.h:5,
                   from third_party/cmark/src/utf8.c:6:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/src/xml.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/xml.o -std=c99
  In file included from third_party/cmark/src/xml.c:7:0:
  third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/autolink.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/autolink.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark_extension_api.h:8:0,
                   from third_party/cmark/extensions/core-extensions.h:8,
                   from third_party/cmark/extensions/autolink.h:4,
                   from third_party/cmark/extensions/autolink.c:1:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/core-extensions.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/core-extensions.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark_extension_api.h:8:0,
                   from third_party/cmark/extensions/core-extensions.h:8,
                   from third_party/cmark/extensions/core-extensions.c:1:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/ext_scanners.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/ext_scanners.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/chunk.h:7:0,
                   from third_party/cmark/extensions/ext_scanners.h:1,
                   from third_party/cmark/extensions/ext_scanners.c:3:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/strikethrough.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/strikethrough.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark_extension_api.h:8:0,
                   from third_party/cmark/extensions/core-extensions.h:8,
                   from third_party/cmark/extensions/strikethrough.h:4,
                   from third_party/cmark/extensions/strikethrough.c:1:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/table.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/table.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark_extension_api.h:8:0,
                   from third_party/cmark/extensions/table.c:1:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src -I/tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/extensions -I/tmp/pip-install-mce2vc2e/cmarkgfm/generated/unix -I/usr/include/python3.6m -c third_party/cmark/extensions/tagfilter.c -o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/tagfilter.o -std=c99
  In file included from /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark_extension_api.h:8:0,
                   from third_party/cmark/extensions/core-extensions.h:8,
                   from third_party/cmark/extensions/tagfilter.h:4,
                   from third_party/cmark/extensions/tagfilter.c:1:
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:113:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_default_mem_allocator();
   ^~~~~~~~~
  /tmp/pip-install-mce2vc2e/cmarkgfm/third_party/cmark/src/cmark.h:119:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   cmark_mem *cmark_get_arena_mem_allocator();
   ^~~~~~~~~
  gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/arena.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/blocks.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/buffer.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/cmark.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/cmark_ctype.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/commonmark.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/footnotes.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_href_e.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_html_e.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/houdini_html_u.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/html.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/inlines.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/iterator.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/latex.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/linked_list.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/man.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/map.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/node.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/plaintext.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/plugin.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/references.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/registry.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/render.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/scanners.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/syntax_extension.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/utf8.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/src/xml.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/autolink.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/core-extensions.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/ext_scanners.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/strikethrough.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/table.o build/temp.cygwin-2.11.1-x86_64-3.6/third_party/cmark/extensions/tagfilter.o -L/usr/lib/python3.6/config -L/usr/lib -lpython3.6m -o build/lib.cygwin-2.11.1-x86_64-3.6/cmarkgfm/_cmark.abi3.dll
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_render_html':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1253: undefined reference to `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1253:(.text+0x23b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1238: undefined reference to `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1238:(.text+0x2d6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parser_get_syntax_extensions':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1166: undefined reference to `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1166:(.text+0x3cc): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parser_free':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1129: undefined reference to `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1129:(.text+0x48c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parser_finish':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1094: undefined reference to `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1094:(.text+0x53c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o:/tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1042: more undefined references to `alloca' follow
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parser_feed':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1042:(.text+0x6c9): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:1053:(.text+0x706): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parser_attach_syntax_extension':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:999:(.text+0x7d7): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:988:(.text+0x846): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_parse_document':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:938:(.text+0x99b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `alloca'
  build/temp.cygwin-2.11.1-x86_64-3.6/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.o: In function `_cffi_f_cmark_node_get_type':
  /tmp/pip-install-mce2vc2e/cmarkgfm/build/temp.cygwin-2.11.1-x86_64-3.6/cmarkgfm._cmark.c:894:(.text+0xa2c): additional relocation overflows omitted from the output
  collect2: error: ld returned 1 exit status
  error: command 'gcc' failed with exit status 1

It seems that the issue is with linking alloca from alloca.h. The issue may lie with the upstream cmark project, but the issue is manifesting in this project as well.

Python 3.7 binary wheels

It would be nice having Py3.7 binary wheels on PyPI: I'm trying to upgrade some Docker images that use the slim version of the Python image, and the lack of a build environment is a showstopper.

Verify GFM Conformity

#37 showed that there was at least one discrepancy between the output of github_flavored_markdown_to_html and what GFM actually produced. This issue is a reminder find any other differences.

Python 3.12 Wheels

Hello!

In the spirit of #55, I am making an issue to track the generation of wheels for Python 3.12 too : )

version contorl

image
修改版本控制方式,这里的版本是否应该也对应修改下?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.