Note that there are some explanatory texts on larger screens.

plurals
  1. PO.cpp error: no match for 'operator<' in 'std::cerr < "Converting file \""'
    primarykey
    data
    text
    <p>I'm trying to execute this code <a href="http://read.pudn.com/downloads150/sourcecode/comm/651136/NmeaConverter.cpp__.htm" rel="nofollow">nmea2kml.cpp</a></p> <p>but I keep getting the following errors. Also the program has command line parameters <code>-f path Read file at given path (e.g. /some/where/nmea.txt)</code> What should I change to run the program? Am I getting the error due to a compiler problem? coz I've messed up with adding cygwin, MinGW compilers to eclipse!! I know the program is correct. Others have used it and got the results.(http://julien.cayzac.name/code/gps/)</p> <p>Error</p> <pre><code>g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\nmea.o ..\src\nmea.cpp ..\src\nmea.cpp: In function `int main(int, char**)': ..\src\nmea.cpp:195: error: no match for 'operator&lt;' in 'std::cerr &lt; "Converting file \""' ..\src\nmea.cpp:195: note: candidates are: operator&lt;(const char*, const char*) &lt;built-in&gt; ..\src\nmea.cpp:195: note: operator&lt;(void*, void*) &lt;built-in&gt; ..\src\nmea.cpp:336: error: no match for 'operator&lt;' in 'std::cout &lt; "&lt;?xml version=\"1.0\" encoding=\"ISO-8859-1\"?&gt;"' ..\src\nmea.cpp:336: note: candidates are: operator&lt;(const char*, const char*) &lt;built-in&gt; ..\src\nmea.cpp:336: note: operator&lt;(void*, void*) &lt;built-in&gt; ..\src\nmea.cpp:336: error: `std::endl(std::basic_ostream&lt;_CharT, _Traits&gt;&amp;)' cannot appear in a constant-expression ..\src\nmea.cpp:355: error: parse error in template argument list ..\src\nmea.cpp:336: error: `endl&lt;&lt;expression error&gt; &gt;' cannot appear in a constant-expression ..\src\nmea.cpp:406: error: parse error in template argument list ..\src\nmea.cpp:336: error: `endl&lt;&lt;expression error&gt; &gt;' cannot appear in a constant-expression ..\src\nmea.cpp:406: error: parse error in template argument list ..\src\nmea.cpp:336: error: `endl&lt;&lt;expression error&gt; &gt;' cannot appear in a constant-expression ..\src\nmea.cpp:406: error: parse error in template argument list ..\src\nmea.cpp:406: error: expected `;' before '}' token ..\src\nmea.cpp:193: warning: unused variable 'outfile' Build error occurred, build is stopped </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload