Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
March 03, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 ryuukk_ <ryuukk.dev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ImportC -- |
March 15, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- (In reply to ryuukk_ from comment #0) > Kits\10\include\10.0.19041.0\ucrt\corecrt_malloc.h(58): Error: > extended-decl-modifier expected I don't have this .h file. Please quote here the lines from it that cause the error. -- |
March 15, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 --- Comment #2 from ryuukk_ <ryuukk.dev@gmail.com> --- As requested here is a copy of this file: https://gist.github.com/ryuukk/8ede8f2ec75085053e4861a0406d1e3f ``` _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size) _ACRTIMP _CRTALLOCATOR _CRTRESTRICT void* __cdecl _calloc_base( _In_ size_t _Count, _In_ size_t _Size ); ``` ``` _Check_return_ _Ret_maybenull_ _Post_writable_byte_size_(_Count * _Size) _ACRTIMP _CRT_JIT_INTRINSIC _CRTALLOCATOR _CRTRESTRICT _CRT_HYBRIDPATCHABLE void* __cdecl calloc( _In_ _CRT_GUARDOVERFLOW size_t _Count, _In_ _CRT_GUARDOVERFLOW size_t _Size ); ``` etc -- |
March 15, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 --- Comment #3 from ryuukk_ <ryuukk.dev@gmail.com> --- This in case this is needed, here is what's installed in Visual Studio https://i.imgur.com/gNpLDiJ.png -- |
March 25, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> --- Is it possible you can post the code after the C preprocessor is through with it? I don't know what all those macros expand to. -- |
March 25, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 --- Comment #5 from ryuukk_ <ryuukk.dev@gmail.com> --- I don't know how to do that, i am as blind as you, and to be honest, debugging throught this microsoft BS is not something i want to do -- |
March 25, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 --- Comment #6 from ryuukk_ <ryuukk.dev@gmail.com> --- Apparently this is the fix: https://github.com/dlang/dmd/pull/15034 -- |
May 31, 2023 [Issue 23757] ImportC: fail to import malloc | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23757 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #7 from Walter Bright <bugzilla@digitalmars.com> --- (In reply to ryuukk_ from comment #6) > Apparently this is the fix: https://github.com/dlang/dmd/pull/15034 I'll take that as it's working now! -- |
Copyright © 1999-2021 by the D Language Foundation