Comments (8)
I guess it this line 2142 in current SDL_hints.h ?
* keyboard would yield 'a' instead of 'ф'.
See https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_hints.h#L2142
from sdl.
The compiler warnings of OP suggests that the compiler does not read the source in utf-8 mode, but in cp932.
MSVC has a /utf-8
option, but I don't think this will fix this warning for external projects.
from sdl.
There's also one in SDL_joystick.c
from sdl.
There's also one in SDL_joystick.c
That would be:
MAKE_VIDPID(0x0f0d, 0x011e), // Hori Fighting Stick α in PC Mode
... at line 140 of SDL_joystick.c
from sdl.
There's also one in SDL_joystick.c
That would be:
MAKE_VIDPID(0x0f0d, 0x011e), // Hori Fighting Stick α in PC Mode
... at line 140 of SDL_joystick.c
Well, make that lines 139 to 141 where there is that α
character...
from sdl.
Well, make that lines 139 to 141 where there is that
α
character...
.. and lines 290 and 291 where we have ‘
and ’
from sdl.
C4819 occurs when you compile an ANSI source file on a system using a codepage that can't represent all characters in the file.
Save the file in Unicode format to prevent data loss.
Perhaps the header files you have on disk are malformed in some way. Try redownloading SDL3 source again from https://github.com/libsdl-org/SDL/archive/refs/heads/main.zip.
If that doesn't help, try saving the offending files in 'UTF-8 (with signature/BOM)' encoding as suggested by the error description.
from sdl.
Fixed, thanks!
from sdl.
Related Issues (20)
- Direct3d12 renderer backend only renders black windows HOT 1
- Names of gpu backends don't match those of the 2d renderer backend HOT 3
- GPU Metal: Remove calloc usages HOT 1
- Nintendo NSO N64 Controller Mapping in Linux
- GPU: API does not follow the SDL3 naming conventions HOT 2
- Metal shader compilation issues with the SDL_Renderer GPU backend HOT 2
- Coding c++ HOT 1
- GPU: {Begin,End}GPURenderPass is a bit stinky HOT 8
- Binary representation of `SDL_bool` is not clear HOT 2
- `SDL_gpu.h` flags enums don't follow convention HOT 1
- KMSDRM fails to load libdrm HOT 5
- SDL_HINT_X11_XCB_LIBRARY should default to libX11-xcb.so.1 on most platforms HOT 1
- SDL3/android: "Return" software key press no longer synthesises a `SDL_EVENT_KEY_DOWN` with `SDL_SCANCODE_RETURN` + `SDLK_RETURN`
- No way to set function to use for aligned allocations, and arguments for free HOT 3
- SDL_GetGPUDriver should return a string HOT 3
- GPU: Reference stencil should be dynamic
- SDL3: Add float versions of the alpha opaque/transparent constants
- GPU Vulkan: using `R11G11B10_UFLOAT` for a colour target or storage texture causes validation errors HOT 3
- Parameter 'window' is invalid when using SDL_CreateRendererWithProperties() HOT 1
- SDL3: SDL_ConvertEventToRenderCoordinates doesn't work with SDL_AppEvent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.