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

crash with invalid @warn input in Visual Studio #1460

Closed
hmoffatt opened this issue Aug 21, 2015 · 8 comments
Closed

crash with invalid @warn input in Visual Studio #1460

hmoffatt opened this issue Aug 21, 2015 · 8 comments
Assignees
Milestone

Comments

@hmoffatt
Copy link

Similar to #1443 that I reported regarding a crash calling rbga with invalid parameters when compiled with VS, I find that

@warn foo!;

causes a crash in the same place (Memory_Manager::destroy(T* np)).

@drewwells
Copy link
Contributor

Are you seeing crashes for errors too? Invalid input ie div { is throwing errors for me

@hmoffatt
Copy link
Author

Hmm, no just "div {" as input does not cause a crash for me.

@mgreter
Copy link
Contributor

mgreter commented Aug 24, 2015

I can reproduce this issue and also confirm that #1462 fixes it. @hmoffatt can you compile from source and confirm? I will re-try once I re-base after the PRs got merged ...

@hmoffatt
Copy link
Author

Try master now?

@mgreter
Copy link
Contributor

mgreter commented Aug 24, 2015

@hmoffatt
Copy link
Author

Yes that works for me.

@hmoffatt
Copy link
Author

It's probably not new, but when I compile the sassc vcxproj I am getting these warnings from sass_context.cpp:

1>c:\dev\test\libsass\src\sass_context.cpp(193): warning C4297: 'copy_strings' : function assumed not to throw an exception but does
1> The function is extern "C" and /EHc was specified
1>c:\dev\test\libsass\src\sass_context.cpp(197): warning C4297: 'copy_strings' : function assumed not to throw an exception but does
1> The function is extern "C" and /EHc was specified

@mgreter
Copy link
Contributor

mgreter commented Aug 24, 2015

Yes that works for me.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants