- uint8_t ReadInt8 (std::ifstream *fp);
- uint16_t ReadInt16(std::ifstream *fp);
- uint32_t ReadInt32(std::ifstream *fp);
- void WriteInt8 (std::ofstream *fp,uint8_t data);
- void WriteInt16(std::ofstream *fp,uint16_t data);
- void WriteInt32(std::ofstream *fp,uint32_t data);
+ uint8_t ReadInt8 (std::ifstream *fp)
+#if !(__GNUC__==2 && __GNUC_MINOR__<=96)
+ throw( std::ios::failure );
+#else
+ ;
+#endif
+ uint16_t ReadInt16(std::ifstream *fp)
+#if !(__GNUC__==2 && __GNUC_MINOR__<=96)
+ throw( std::ios::failure );
+#else
+ ;
+#endif
+ uint32_t ReadInt32(std::ifstream *fp)
+#if !(__GNUC__==2 && __GNUC_MINOR__<=96)
+ throw( std::ios::failure );
+#else
+ ;
+#endif
+ void WriteInt8 (std::ofstream *fp,uint8_t value);
+ void WriteInt16(std::ofstream *fp,uint16_t value);
+ void WriteInt32(std::ofstream *fp,uint32_t value);