English is not my first language. I meant 'compound' in the sense 'a cluster of buildings having a shared purpose, usually inside a fence'. Where I am every school has a fence (also as insurance line). But maybe this usage of this expression is uncommon.
Compound has no negative connotations, but is not really used in this context either.
Typically one would just say - the school, or perhaps the grounds. Campus is also common; but generally in the context where the school has multiple campuses.