??? 02/21/11 12:31 Read: times |
#181208 - Overloaded function Responding to: ???'s previous message |
The const function and the non const function are treated as separate, and your non-const prototype is no longer a prototype for your actual function. As the function now compiles, the linker can find the function and the build completes.
This mismatch doesn't tend to call real world problems for the compiler, but the programmer is easily confused. |
Topic | Author | Date |
const function parameter declaration -2 | 01/01/70 00:00 | |
call by value | 01/01/70 00:00 | |
Overloaded function | 01/01/70 00:00 | |
No overloading in C | 01/01/70 00:00 | |
case 10: return 0x30; | 01/01/70 00:00 |