Generated code under source control?

My Fabric project (which is coming along well BTW) is a formula compiler and runtime meant to be used with my object database (CouchDb). It uses Anltr to generate C++ compiler code from grammars I wrote. I have it set up so that everytime a build is run, it checks to see if the generated files cpp and hpp are out of date with the grammar, and if not it runs Antlr to generate the source files.

Currently I have these generated files included in the Visual Studio project solution browser and I have them under source control (Subversion). Neither is necessary, but it is convenient. I can't think of any problems this will cause, but sometime somewhere I seem to remember someone frowning on the practice. I just can't remember who or why. Anyone have a good reason not to do it this way?

(BTW I haven't been blogging much lately because I've been too focused on coding)

Posted December 6, 2005 3:13 PM