I'm using org-mode V7.8.09. When I was trying to export the following c++ code block to html,
#+begin_src c++
int a=1;
int b=1;
printf("%d\n", a+b);
#+end_src
it failed with message
org-babel-exp processing...
font-lock-fontify-keywords-region: Symbol's value as variable is void: font-lock-end-statement-face`
Interestingly, if I claim that it is python code, it exports successfully...
#+begin_src python
int a=1;
int b=1;
printf("%d\n", a+b);
#+end_src
After I add (org-babel-do-load-languages 'org-babel-load-languages '((C . t)))
in my init.el
, the error message is gone and c++ codes can be exported to html successfully. But c++ codes are not highlighted, while python codes are highlighted fine.