This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sh flags


Hi,

I'm somewhat new to gcc, I am getting the following error :

categories.cpp: In function `void DisplayCategoriesSearchform(class string, 
class string, class fstream &)':
categories.cpp:131: `sh_read' is not a member of type `filebuf'

in reference to

ifstream fin(cat.c_str(),ios_base::in,filebuf::sh_read);


Where are the sh flags specified? This compiles correctly with Microsoft 
VC++ under Windows.

Regards,
Alec


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]