View Single Post
Old 06 March 2024, 12:47   #1541
Olaf Barthel
Registered User
 
Join Date: Aug 2010
Location: Germany
Posts: 532
Quote:
Originally Posted by Mafi View Post

...

My biggest problem is that Clang (pretty much used by all language servers like clangd and ccls) chokes on a lot of the NDK includes (mainly protos and any declarations using 68k registers. Basically means auto-complete etc. doesn't work, or partially works.
Which version/release of the AmigaOS 3.2 NDK are you currently using, exactly? The most recent release is still AmigaDOS 3.2 NDK R4, with R5 still being in the works.

R5 features further interface header file changes which render them more robust if the compiler environment claims to be the GNU 'C' compiler, but is really clang. The interface header files assumed that if gcc was showing its hand, it was a native or cross compiler targeted for AmigaOS 68k. With the current work-in-progress, you can actually use these header files directly with VSCode, for example, and no local changes required to even narrowly avoid tripping the code completion up. One of these days we might even had helpful code comments in the <clib/#?_protos.h> header files

R4 was still focused on getting the gcc 68k and vbcc interface header files into shape. That there was more trouble on the horizon with cross-compilation, etc. had yet to be discovered and addressed
Olaf Barthel is offline  
 
Page generated in 0.05497 seconds with 11 queries