Hello,

When I compiled with GCC (4.2.1) with compiler option -pedantic against header file `svn_wc.h' in subversion version 1.7 I get the following error:

In file included from main.cc:1:
/opt/local/include/subversion-1/svn_wc.h:1210: error: comma at end of enumerator list
make: *** [main] Error 1

I suspect this is caused by a typo in svn_wc.h at line 1210:

  /** The operation skipped the path because it was conflicted.
   * @since New in 1.7. */
  svn_wc_notify_skip_conflicted,

} svn_wc_notify_action_t;

because other enums in the same file have no comma after the last item. Is there are reason to have this comma that I'm missing or could it be removed?

Thanks and please let me know if you need further information from me.

--
Cheers,
Peter

Reply via email to