#10 Missing implementation of Grid::method leads to segfault instead of compiler error
Metadata
| Property | Value |
|---|---|
| Reported by | Thimo Neubauer (thimo@macht.org) |
| Reported at | Aug 24, 2005 20:55 |
| Type | Bug Report |
| Version | Git (pre2.4) [autotools] |
| Operating System | Unspecified / All |
| Last edited by | Robert K (robertk@posteo.org) |
| Last edited at | Oct 19, 2006 14:24 |
| Closed by | Robert K (robertk@posteo.org) |
| Closed at | Nov 3, 2006 09:27 |
| Closed in version | 1.0 |
| Resolution | Fixed |
| Comment | Problem solved by using macros to catch infinite call loop which stands for missing implementation. |
Description
Grid::method forwards the call to GridImp::method. If GridImp is missing an implementation it inherits Grid::method. Calling Grid::method results now in an infinit recursive loop until one receives a segfault.