+ 3

what causes [-fpermissive] error in c++ in an example like Customer::Customer () {

cannot compile due to that error .please help

23rd Sep 2017, 11:10 AM
Captain Salem
Captain Salem - avatar
2 RĂ©ponses
+ 4
Show me the complete code, and Ill try to help. Usually, this error is due to something above the statement shown with the error description...
23rd Sep 2017, 4:16 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 3
It sounds like the Customer class has a method that can’t be accessed by the program. If it’s a multi-file program, it may not be linked properly. If it’s a single file, it may be a private method that can’t be accessed.
26th Sep 2017, 8:01 PM
Thomas Kimball