Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix compile with gcc7 and tesseract 4 #72

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bit
Copy link
Contributor

@bit bit commented Sep 9, 2018

No description provided.

@sl1pkn07
Copy link

should be in CXX, not in C

@bit
Copy link
Contributor Author

bit commented Feb 12, 2019

You want to remove set(CMAKE_C_FLAGS "-std=gnu99") and add -std to CXX flags?

@sl1pkn07
Copy link

sl1pkn07 commented Feb 12, 2019

set(CMAKE_CXX_FLAGS "-ansi -pedantic -Wall -Wextra -Wno-long-long -std=gnu++11")

instead of

set(CMAKE_C_FLAGS "-std=gnu++11")

@bit
Copy link
Contributor Author

bit commented Mar 15, 2019

any chance to merge this?

@Chris00
Copy link

Chris00 commented Feb 12, 2020

The alternative set(CMAKE_CXX_STANDARD 11) — proposed in issue #73 — works too and is maybe more elegant.

@Chris00
Copy link

Chris00 commented Feb 12, 2020

I use gcc (Debian 9.2.1-25) 9.2.1 20200123 and this patch (or the alternative) is still required.

@glensc
Copy link

glensc commented Mar 29, 2020

I can confirm this fixed for me build on Linux

pld-gitsync pushed a commit to pld-linux/vobsub2srt that referenced this pull request Mar 29, 2020
glensc added a commit to glensc/VobSub2SRT that referenced this pull request Apr 7, 2020
@glensc
Copy link

glensc commented Apr 7, 2020

This PR needed for docker build too: #77

Geoffrey-A added a commit to Geoffrey-A/VobSub2SRT that referenced this pull request Jun 21, 2020
This contains the following PRs:
- ruediger#72 by bit: Fix compile with gcc7 and tesseract 4
- ruediger#75 by oltodosel: inverting images for tesseract 4
Geoffrey-A added a commit to Geoffrey-A/VobSub2SRT that referenced this pull request Jun 21, 2020
This contains the following PRs:
- ruediger#72 by @bit: Fix compile with gcc7 and tesseract 4
- ruediger#75 by @oltodosel: inverting images for tesseract 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants