The job of a home inspector is to point out issues that may be important to the buyer. Whether they were legal or not when the house was built isn't important. The seller always has the option of saying the house is sold as is and let the buyer decide if they want to buy another one. A great example would be a house that only has a 60a service. it is very possible that this is the way houses were built in the 40s or 50s but that is not reasonable today.