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

Obscure Error Message For Non ASCII Characters #24

Open
santorac opened this issue Mar 10, 2022 · 1 comment
Open

Obscure Error Message For Non ASCII Characters #24

santorac opened this issue Mar 10, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@santorac
Copy link
Contributor

santorac commented Mar 10, 2022

If you have non-ASCII characters in an AZSL source file, the compiler will report an obscure error message with no line number information: "bad conversion"

Try adding the following comment to an existing .azsl file (note that Notepad++ or other text editors might convert the character to ASCII automatically. Try pasting this in Visual Studio, that should do the trick):

// This file can’t compile
//              ^ because of this character

image

@santorac santorac added the bug Something isn't working label Mar 10, 2022
@siliconvoodoo
Copy link
Contributor

Doesn't seem to be azslc related. Probably a builder issue for passing the shader file contents through strings possibly.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants