My specific city has some of the strictest requirements in the state...if not the whole country! They require 6' barrier (as opposed to the more common 4') with very specific "max" gap measurements, self closing gates that open "outward" from the pool, the latches described by PoolGate, above, and the door alarms on any doors that lead from the house to the pool area. The 6' barrier/fence thingy threw a huge curve ball on our build, so I am meeting next Monday with a fencing contractor to bring our 2 year old (and very expensive) fence up to code.
As mentioned, I would call any final inspections off until you've brought up your doors/gates/fencing up to code. When it comes to pools, the safety aspect of the inspection has the most of weight of anything else... Townships won't budge on that!