Hello, when I've tried to use forward declarations to solve circular structure dependencies I get the error 'field has incomplete type'. When browsing for the answer, I got the general response 'the compiler doesn't know what type you're using if you don't fully describe it'. Well I understand that, but it seems as if the purpose of the forward declaration is to have the compiler look for the definition later in the code. If my code looks like the below, should I be getting an incomplete type error? And if so, is there a different way I should be writing the code? Some sort of syntax error, or is there a different way to do the same thing? Any tips appreciated, thanks.

Edit: I think I found the solution in this thread from user "anastaciu", it looks like you can only use the forward declarations if they're pointers to the struct type, not full instances. Lmk if that's right, it got rid of the error for me, but if there's a different way to allow use not from a pointer that'd be great.

typedef struct objA_t objA_t;

typedef struct objB_t{

     objA_t o;

}objB_t;

typedef struct objA_t{

    uint8_t num0;

}objA_t;

Ox64 Resource Repo (codeberg.org)
 

I compiled a list of some resources for the Ox64, I'll be adding to it as soon as I get around to playing with it more. I'm more into the pico for now but I wanted to get this up in some places in case people had other resources/projects that they wanted to share. just reply to this post or send me an email and I'll get it added. or if there's already something like this I can just merge resources instead.

 

I've been wanting to get a Zero 2 but they're basically nonexistent. How likely do we think the Zero 1 to stay in supply? And are they worth getting or should I hold out for the Zero 2 to return? I kinda want to use it in a project but I don't want em to go dead before I can make a couple of units. thoughts?

 

I'm curious how many people would prefer a more durable/thinkpad-like framework laptop. I get they're trying to go for the more popular/mainstream light/thin/pretty design but man I still like using my T530 over my FW13. I've seen posts like "set my bag down a little too fast and bent/had to replace my hinge" and whatever. i still think the Framework is the best laptop currently being made and would still recommend it and do recommend it to my friends. Obviously some people like the weight and see it as worth the trade-off. but dang i wish there were a beefier one, I dont think we're going to see "framework on the international space station" posts at this rate.