The LaTeX package todonotes provides a useful set of commands for marking todo items, including notes and missing figures. However, it doesn’t work with the puthesis class used for writing theses and dissertations in the Purdue format. The todonotes work fine for adding notes, but the compiling breaks when using the \listoftodos command.
I found the workaround, however. It seems the puthesis class redefines the table of contents lines for chapter, section, subsection, etc. But of course it does not redefine a “todo” table of contents line. Adding the following definition right after the todonotes package is loaded does the trick:
\usepackage{todonotes}
\makeatletter
\if@todonotes@disabled
\else
\renewcommand*\l@todo{\@dottedtocline{1}{\smalltocskip}{0em}{2.3em}}
\fi
\makeatother
It also works when using the hyperref package, so the list of todos links back to the original todo items.