It shall be the duty of the building official to enforce these regulations and to bring to the attention of the county attorney any violations or lack of compliance herewith.