The file cores/arduino/CDC.cpp is never used in the current tree. It appears that the CDC endpoint is now created in USBApi, USBCore, and USBDesc.
Should the serial port be unavailable without Serial.begin()? This would have the drawback of forcing the user to press the restart button on a 32u4 based device to manually upload a sketch.
Sorry was wrong, it has some extern code that is being used. But the CDC.cpp file never has an include in the tree and I see that most of its code was copied out.
The file cores/arduino/CDC.cpp is never used in the current tree. It appears that the CDC endpoint is now created in USBApi, USBCore, and USBDesc.
Should the serial port be unavailable without Serial.begin()? This would have the drawback of forcing the user to press the restart button on a 32u4 based device to manually upload a sketch.