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

MSVC output - assert with precompiled headers #1

Open
Jaa-c opened this issue Jan 16, 2019 · 2 comments
Open

MSVC output - assert with precompiled headers #1

Jaa-c opened this issue Jan 16, 2019 · 2 comments

Comments

@Jaa-c
Copy link

Jaa-c commented Jan 16, 2019

Hi, I have a Qt project with precompiled headers and for my output, I end up with an assert:

    Parsing includes...
Traceback (most recent call last):
  File "main.py", line 278, in <module>
    includes_tree = parse_section(current_file, get_include_name)
  File "main.py", line 226, in parse_section
    count = parse_count()
  File "main.py", line 111, in parse_count
    return parse_int("Count:")
  File "main.py", line 95, in parse_int
    assert string in line, "{} not in {}".format(string, line)
AssertionError: Count: not in cl -c -Yc -Fprelease\Base_pch.pch -Forelease\Base_pch.obj /Bt+ /d2cgsummary /d1reportTime /std:c++17 -DNDEBUG /Fdrelease\Base.vc.pdb -TP ..\..\src\Base\stable.h

I've attached the beginning of the log: sample_log.txt

Thanks for looking into it.

@Jaa-c Jaa-c changed the title Assert with precompiled headers MSVC output - assert with precompiled headers Jan 16, 2019
@Phyronnaz
Copy link
Owner

@Jaa-c Added some code to support that log, there will probably still be some error for the full log though

@Jaa-c
Copy link
Author

Jaa-c commented Jan 16, 2019

Thanks for the quick fix! There are some other issues, I'll try to fix them and will create a pull request. If I can't do it, I'll try to create some small sample log...

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

No branches or pull requests

2 participants