|
Re: Converting from gcc-2.96 to gcc-3.2.2: msg#00213gcc.help
John McClurkin - LMO <jwm@xxxxxxxxxxxxxxx> writes: > Israel, > Thank you for your prompt response. Adding includes for individual STL > types eliminated the No such file or directory error but revealed a host > of other errors. For example: > > #include <vector> [snip] > class MexWaveform { > public: > MexWaveform(WAVEDATA md, vector<float>& wave); > }; > results in the error: > type specifier omitted for parameter `vector<float>` > > Nothing in any of my C++ books indicates that this code structure is > wrong. Read recent books (less than 6 years old). STL's vector, as the rest of the Standard C++ Library, lives on namespace 'std', so you need to type ... std::vector<float>& wave); [snip] HTH -- Oscar |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Converting from gcc-2.96 to gcc-3.2.2: 00213, John McClurkin - LMO |
|---|---|
| Next by Date: | FreeBSD/GCC Oddness.: 00213, Chris Keladis |
| Previous by Thread: | Re: Converting from gcc-2.96 to gcc-3.2.2i: 00213, John McClurkin - LMO |
| Next by Thread: | some help...: 00213, Chris Blackwell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |