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

Run code on Windows ? #11

Open
flaviu22 opened this issue Aug 23, 2023 · 0 comments
Open

Run code on Windows ? #11

flaviu22 opened this issue Aug 23, 2023 · 0 comments

Comments

@flaviu22
Copy link

Does anyone ran this code on Windows ? It possible to use on Windows ?
I have included in a simple C++ console application, I got tones of errors:

1>css_lex.c
1>css_lex.c(1335,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>css_syntax.c
1>css_syntax.c(334,24): warning C4273: 'malloc': inconsistent dll linkage
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_malloc.h(101,15): message : see previous definition of 'malloc'
1>css_syntax.c(341,19): warning C4273: 'free': inconsistent dll linkage
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_malloc.h(89,14): message : see previous definition of 'free'
1>css_syntax.y(159,21): error C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.
1>css_syntax.y(521,8): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>css_syntax.y(524,8): error C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>css_syntax.y(537,8): error C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>css_syntax.y(564,4): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>css_syntax.y(569,7): error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>Generating Code...

Its worth it to use it on Windows ?

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

1 participant