Some fixes for g++ 4.x.x -pedantic

G++ 4.x.x with -pedantic option reject comma at end of enumerator list:

Attached patches let LLVM Instruction.h and Type.h headers compile using G++ 4.x.x with lot warrnigs but without errors.

Vladimir

Instruction.h.patch (1.3 KB)

Type.h.patch (300 Bytes)

Applied, thanks!
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050307/024502.html

-Chris