Now that I'm thinking about it, I kind of think it makes sense the compiler would just stop if there's a layout missing. The only time for when it would be "acceptable" to not have a layout, is when it's in code that never runs, right?
Another thing, I've made the mistake to fail to include a layout in a b4xlib once, and while I'm not certain, I think I remember thinking that the "outer" project (that used the b4xlib) didn't have any warnings about the missing layout. Like I said, I could be wrong about this.