[Bug target/93082] macOS Authorization.h needs fixinclude

2020-11-24 Thread grobian at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082

Fabian Groffen  changed:

   What|Removed |Added

 CC||grobian at gentoo dot org

--- Comment #3 from Fabian Groffen  ---
The problem with this snippet is that it doesn't work on Frameworks, does it? 
At least for me, it seems it searches from usr/include only?

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2020-11-08 Thread grobian at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352

--- Comment #14 from Fabian Groffen  ---
(In reply to Eric Gallager from comment #13)
> If we could get in touch with an actual lawyer to review which laws
> specifically are getting in the way here, that could be helpful. I won my
> election to the New Hampshire State Legislature so if there's any
> legislation I could pass to make it legal to apply those patches here in NH,
> I'd love to know how to write it.

FWIW: if Iain wrote a new patch, then we don't need Apple's original work which
from my experience, frankly is messy.  There's lots of stuff in there
intertwined, so going by a specification e.g. Clang's
(https://clang.llvm.org/docs/BlockLanguageSpec.html) is probably the best way
forward in any case.

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2020-11-07 Thread grobian at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352

Fabian Groffen  changed:

   What|Removed |Added

 CC||grobian at gentoo dot org

--- Comment #11 from Fabian Groffen  ---
Is there a patch or WIP somewhere I can try out or attempt to bring forwards?

My attempts at porting the 4.2.1 Apple changes to 10.1 seem to have failed as I
get some weird "byref undeclared" errors whenever a __block var is encountered.
 I must admit I'm not really well versed with GCC's code.

Thanks