Michael Skoog

The cause of C++ compiler error of C5701 #422

Discussion created by Michael Skoog on Jul 21, 2008
Latest reply on Jul 22, 2008 by Tom Thompson
In defining of a class header incorrectly by using two colons instead of one will crash the compiler.
 
Bad Definition:  class m_stack :: public stack {
 
where the good definition would be:
                          class m_stack : public stack {
 
The error that was generated in my case made reference to a non-existence drive "F:" and a procedure of 'operator =' which wasn't part of my definition.
 
 

Outcomes