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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,283 Views
mskoog
Contributor I
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.
 
 
Labels (1)
0 Kudos
Reply
1 Reply

590 Views
J2MEJediMaster
Specialist I
You should file a Service Request on that, so that the compiler engineers are aware of the problem. Be sure to provide plenty of information, as to the compiler version and a section of your code so that they can duplicate the problem.

---Tom

0 Kudos
Reply