|
From: Foster, G. <gar...@si...> - 2005-01-21 15:31:07
|
The problem is that g++ doesn't recognise the parameters passed to it, I thought I had more of my previous conversation on the gtkmm list attached, but anyway, I get ... $ g++ myfile.cpp Error, no files provided (or something to that effect) Hopefully it is clear what is going on now, sorry about that. Gaz -----Original Message----- From: min...@li... [mailto:min...@li...] On Behalf Of John Gaughan Sent: 21 January 2005 14:00 To: min...@li... Subject: RE: [Mingw-users] g++ accepting cl parameters Foster, Gareth said: >> Does it help if you add a _flushall() after the output and before the >> input? > > Hello, thanks for the response, could you elaborate a little though? I > tried > the following .... > > $ g++ woot.cpp > $ g++ _flushall() woot.cpp _flushall() > $ g++ `_flushall()` woot.cpp `_flushall()` > $ g++ `_flushall()' woot.cpp `_flushall()' I think what Earnie meant was in your code. I am not familiar with gtkmm, but I think he meant to do something like this: woot.cpp: // Output code goes here. _flushall (); // Input code goes here. Using function names on the command line probably won't work ;-) -- John Gaughan jo...@jo... http://www.johngaughan.net/ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |