rendered paste body>g++ main.cpp tidy.o
In file included from main.cpp:8:
html.h:157: error: conflicting declaration 'doctype_omit'
config.h:9: error: 'doctype_omit' has a previous declaration as `DocTypeMode doctype_omit'
html.h:157: error: declaration of `doctype_omit'
config.h:9: error: conflicts with previous declaration `DocTypeMode doctype_omit'
html.h:158: error: conflicting declaration 'doctype_auto'
config.h:10: error: 'doctype_auto' has a previous declaration as `DocTypeMode doctype_auto'
html.h:158: error: declaration of `doctype_auto'
config.h:10: error: conflicts with previous declaration `DocTypeMode doctype_auto'
html.h:159: error: conflicting declaration 'doctype_strict'
config.h:11: error: 'doctype_strict' has a previous declaration as `DocTypeMode doctype_strict'
html.h:159: error: declaration of `doctype_strict'
config.h:11: error: conflicts with previous declaration `DocTypeMode doctype_strict'
html.h:160: error: conflicting declaration 'doctype_loose'
config.h:12: error: 'doctype_loose' has a previous declaration as `DocTypeMode doctype_loose'
html.h:160: error: declaration of `doctype_loose'
config.h:12: error: conflicts with previous declaration `DocTypeMode doctype_loose'
html.h:162: error: conflicting declaration 'doctype_user'
config.h:14: error: 'doctype_user' has a previous declaration as `DocTypeMode doctype_user'
html.h:162: error: declaration of `doctype_user'
config.h:14: error: conflicts with previous declaration `DocTypeMode doctype_user'
html.h:162: error: conflicting declaration 'typedef enum DocTypeMode DocTypeMode'
config.h:14: error: 'DocTypeMode' has a previous declaration as `typedef enum DocTypeMode DocTypeMode'
html.h:162: error: declaration of `typedef enum DocTypeMode DocTypeMode'
config.h:14: error: conflicts with previous declaration `typedef enum DocTypeMode DocTypeMode'
html.h:162: error: declaration of `typedef enum DocTypeMode DocTypeMode'
config.h:14: error: conflicts with previous declaration `typedef enum DocTypeMode DocTypeMode'
html.h:168: error: conflicting declaration 'keep_first'
config.h:20: error: 'keep_first' has a previous declaration as `DupAttrMode keep_first'
html.h:168: error: declaration of `keep_first'
config.h:20: error: conflicts with previous declaration `DupAttrMode keep_first'
html.h:170: error: conflicting declaration 'keep_last'
config.h:22: error: 'keep_last' has a previous declaration as `DupAttrMode keep_last'
html.h:170: error: declaration of `keep_last'
config.h:22: error: conflicts with previous declaration `DupAttrMode keep_last'
html.h:170: error: conflicting declaration 'typedef enum DupAttrMode DupAttrMode'
config.h:22: error: 'DupAttrMode' has a previous declaration as `typedef enum DupAttrMode DupAttrMode'
html.h:170: error: declaration of `typedef enum DupAttrMode DupAttrMode'
config.h:22: error: conflicts with previous declaration `typedef enum DupAttrMode DupAttrMode'
html.h:170: error: declaration of `typedef enum DupAttrMode DupAttrMode'
config.h:22: error: conflicts with previous declaration `typedef enum DupAttrMode DupAttrMode'