Greg Hewgill ([info]ghewgill) wrote,

care in naming

I'm using Doxygen at work. I noticed that if you document a namespace such as foo, then the documentation for that namespace goes into a file called namespacefoo.html. The higher level file that contains the list of all documented namespaces in the project is called namespaces.html. Guess what happens when you document a namespace called s? Doxygen overwrites the index of all namespaces with the documentation for namespace s, and poof, no more index.

(I don't actually have a namespace called s; I was just curious what would happen when I intentionally tried to break things.)

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comments

[info]decibel45

May 4 2007, 03:07:17 UTC 5 years ago

BUGBUG
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…