[Previous]  [Up]  [Next]

CFront problems

Long names



Extensive use of templates can lead to the generation of extremely long mangled names. CFront has a bug in its generation of these names which leads to compile time errors during the C compilation phase. This problem shows up in the containers and iterators components to the library. It has been worked around by using macros to abbreviate some of the longer template identifiers. This has the unfortunate consequence of making some compile time and link time diagnostics difficult to interpret - i.e. they refer to the abbreviated names, rather than the names that appear in source code.

 [Previous]  [Up]  [Next]