mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
787 stars 146 forks source link

Fix errors and warnings on INTEGRITY compiler #72

Closed ec1oud closed 5 years ago

ec1oud commented 5 years ago

It seems to be applying C90 (?) rules: initializers must be compile-time constants.

Fixes #71.

ec1oud commented 5 years ago

This seems to make it OK in Qt CI anyway.

codecov[bot] commented 5 years ago

Codecov Report

Merging #72 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   92.85%   92.85%   +<.01%     
==========================================
  Files           1        1              
  Lines        2659     2661       +2     
==========================================
+ Hits         2469     2471       +2     
  Misses        190      190
Impacted Files Coverage Δ
md4c/md4c.c 92.85% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7a6bf33...2b6961a. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #72 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   92.85%   92.85%   +<.01%     
==========================================
  Files           1        1              
  Lines        2659     2661       +2     
==========================================
+ Hits         2469     2471       +2     
  Misses        190      190
Impacted Files Coverage Δ
md4c/md4c.c 92.85% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7a6bf33...2b6961a. Read the comment docs.