Hello, I discovered that my previous build failure was not because of a Makefile issue but because my modifications had changed the size of struct scm_objcode, which broke other parts of the program. I found several files where structs are cast from bytes using #define'd values, which are most likely the problem.
It wouldn't be too hard to change these headers to work with my code, but that wouldn't be very future-proof. I'd like to add some mechanism so that if sizeof(struct scm_objcode) ever changes again, it will be obvious that there is a problem. It seems to me that the best way to do this is some sort of assertion. I'd like to pick an assert mechanism that is acceptable to the Guile developers. Therefore, my question is this: what sort of compile-time assert mechanism would you like to see? There is a whole list of options at http://stackoverflow.com/questions/174356/ways-to-assert-expressions-at-build-time-in-c , most of which are probably equivalently effective - it's just a matter of picking one and adding it to a Guile header. Thanks Noah