I've heard that pressure treated wood (the green tinted wood with all the small holes in it) is bad to burn because of the "anti rotting" chemicals pumped into it. This is the lumber used for posts that are placed into the ground for, say, a fence post. As far as standard lumber, I didn't know there was a problem with burning it. I could be wrong, but that is my understanding of the matter.