This is my blog for software development. I am a professional software engineer. I work on various projects. I also contribute to open-source projects such as www.netbeans.org
2006-05-02
Interesting Borland C++ Builder 5.0 Bug. Variables can't be named STATUS_PENDING
I have been working on an API for SC DHEC using Borland C++ Builder 5.0. I came across a strange bug on my system where the compiler would error out on a variable named:
STATUS_PENDING. To get the file to compile I changed the static constant variable name to STATUS_PEND and everything compiled without issue. It took two days to figure out why this file was throwing compiler errors as it was not very specific and simply kept telling me I was missing a ')' or right parenthesis.
Subscribe to:
Posts (Atom)