-
Notifications
You must be signed in to change notification settings - Fork 2.2k
strdup
missing dllimport
declaration (Windows)
#12948
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
Comments
strdup
missing dllimport
declaration (Windows)
Lines 5955 to 6023 in 15c6acf
I'd remove our declarations and do |
string.h is already included, as the error message shows. The problem is with our prototype, which was added to fix #11219, conflicting with the one in string.h. |
One thing I can think of is removing our proto, but defining prerequite macros ( |
Thinking about it, that would require definig the necessary macro(s) before including any system headers, just because of this. How about just guarding our prototype simply with |
That seems fine to me. (I don't understand the problem well enough.) From #11219 (comment), @Sackzement was also running into this problem. Would this fix the problem for you too? (without needing a SDL_DISABLE_ANALYZE_MACROS macro) |
Pull request: #12951 |
--------------------------------------------------------------------------------------- applewin.mk ae55d5cb42ab17a4ad0b7a541a88a764b38505b4 # Version: Commits on May 04, 2025 --------------------------------------------------------------------------------------- Merge pull request #267 from audetto/update Update, ------------------------------------------------------------------------------------- azahar.mk d31ff9634f67c17629009de31e4ce42637b3bb12 # Version: Commits on May 04, 2025 ------------------------------------------------------------------------------------- skip VerifySignature and no delete on unlink, ----------------------------------------------------------------------------------- cemu.mk 33d5c6d490681b49f447c9a3e94c5451b241aba1 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------- nsyshid: Add Skylander Xbox 360 Portal support (#1550), -------------------------------------------------------------------------------------- flycast.mk 7538424efb8c184df89f0211ab3d2f42e7898a96 # Version: Commits on May 04, 2025 -------------------------------------------------------------------------------------- cheat to allow The Next Tetris online features Bypass check of modulation type and rx/tx speeds., ------------------------------------------------------------------------------------- hatari.mk 74be26203c3c39f319a48cf692856b7bd6751c02 # Version: Commits on May 04, 2025 ------------------------------------------------------------------------------------- Remove CYCLES_COUNTER_SOUND and CYCLES_COUNTER_CPU (not used anymore), ----------------------------------------------------------------------------------------- lightspark.mk 1a2ab29b9df24b3c46506434f9f4f1dfd5c0095c # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------------- [BitmapData] ensure data is refreshed before calling getPixel/getPixel32 makes ruffle test avm1/bitmap_data pass again, -------------------------------------------------------------------------------------- openmsx.mk 4be6da399801c1b1969053645723904b65ce005f # Version: Commits on May 04, 2025 -------------------------------------------------------------------------------------- Fix indent of new View Only mode checkbox. Oops, I missed this. Thanks to Wouter for spotting it., ---------------------------------------------------- pcsx2.mk v2.3.322 # Version: Commits on May 04, 2025 ---------------------------------------------------- - [Audio: Fix global settings overriding per-game ones](PCSX2/pcsx2#12593) ------------------------------------------------------------------------------------ rpcs3.mk 4958d7a88f36512c65fd81d153be4520404da01a # Version: Commits on May 04, 2025 ------------------------------------------------------------------------------------ rsx: Do not interpolate when performing image reconstruction - Interpolation introduces cross-channel bit-leakage and noise, -------------------------------------------------------------------------------------- scummvm.mk 8c678695c8795de8b98f5f7e1a42f43e86a80286 # Version: Commits on May 04, 2025 -------------------------------------------------------------------------------------- NEWS: Atari changes for 2.9.1, --------------------------------------------------------- sdl3.mk release-3.2.12 # Version: Commits on May 04, 2025 --------------------------------------------------------- don't prototype strdup() for __clang_analyzer__ case in windows builds. Fixes: libsdl-org/SDL#12948. (cherry picked from commit 17bba029ba6717c3da460a2426fd81fd2772f66f), --------------------------------------------------------------------------------------- corsixth.mk ceb7cdab072c5934207e1c5779f6934345913fa9 # Version: Commits on May 04, 2025 --------------------------------------------------------------------------------------- Merge pull request #2824 from Alberth289346/marker-split-add-and-improve Marker split add and improve, ------------------------------------------------------------------------------------------- jazz2-native.mk 3eabfba6e60a4a5f6c1738bd480286e5fdbfbaea # Version: Commits on May 04, 2025 ------------------------------------------------------------------------------------------- Fixed build, ---------------------------------------------------------------------------------------- openmohaa.mk 1d7d7deaeda3367b88933a88ec619648cf41d190 # Version: Commits on May 04, 2025 ---------------------------------------------------------------------------------------- Set the default mode to -2. -2 makes the game use the current desktop resolution., ------------------------------------------------------------------------------------------ openbor7530.mk 19e2edebba97243a1a00f7f578401d02717e539e # Version: Commits on May 04, 2025 ------------------------------------------------------------------------------------------ Merge pull request #332 from DCurrent/legacy_compile_fix Legacy compile fix., ----------------------------------------------------------------------------------------- libdmdutil.mk 9ff1d0f238fe6859008dd5c716e0c742931b46cc # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------------- flush dump files before closing (#75), ----------------------------------------------------- libserum.mk v2.0.3 # Version: Commits on May 04, 2025 ----------------------------------------------------- Bug fix: The bounding box for sprites was not working on both sides (left and right, top and bottom) if needed ----------------------------------------------------------------------------------- tr1x.mk 0351429d87af2c0d7b54e84654dd51a8777f4ee6 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------- rooms: merge NO_ROOM definitions This merges the two NO_ROOM concepts so -1 is the standard. Legacy sector pit and sky portals will be converted on level load. This ultimately paves the way for allowing more than 256 rooms in a level via alternate sector data provided by injections (to be implemented)., ----------------------------------------------------------------------------------- tr2x.mk 0351429d87af2c0d7b54e84654dd51a8777f4ee6 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------- rooms: merge NO_ROOM definitions This merges the two NO_ROOM concepts so -1 is the standard. Legacy sector pit and sky portals will be converted on level load. This ultimately paves the way for allowing more than 256 rooms in a level via alternate sector data provided by injections (to be implemented)., ----------------------------------------------------------------------------------------------- hlsdk-xash3d-dmc.mk 57ecdef06d4b58a3bcd9ad0e5aa65f534da73012 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------------------- Use safe string functions., --------------------------------------------------------------------------------------------------- hlsdk-xash3d-zombiex.mk 08cd1b5926decd91e5395d5d011729bb5c813fa0 # Version: Commits on May 04, 2025 --------------------------------------------------------------------------------------------------- Merge branch 'sohl1.2' into zombie-x, ----------------------------------------------------------------------------------------------- libretro-flycast.mk 7538424efb8c184df89f0211ab3d2f42e7898a96 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------------------- cheat to allow The Next Tetris online features Bypass check of modulation type and rx/tx speeds., ----------------------------------------------------------------------------------------------- libretro-scummvm.mk 8c678695c8795de8b98f5f7e1a42f43e86a80286 # Version: Commits on May 04, 2025 ----------------------------------------------------------------------------------------------- NEWS: Atari changes for 2.9.1, --------------------------------------------------------------------------------------------- libretro-vba-m.mk 116af5c6a857dbf599fe06fa17fd6aa4951deb1a # Version: Commits on May 04, 2025 --------------------------------------------------------------------------------------------- build: replace sdl2 vcpkg port with sdl3 Signed-off-by: Rafael Kitover <[email protected]>, -------------------------------------------------------------------------------------------- slang-shaders.mk 3a0feed2547c21061ff32e22ff7aad128dbd3ce8 # Version: Commits on May 04, 2025 -------------------------------------------------------------------------------------------- Update Interpolation folder (#701),
Running clang-tidy with a reasonably "default" (based on llvm) set of checks on the clear renderer sample gives this:
The text was updated successfully, but these errors were encountered: