Bug report #7901

Compile error - delimitedtext/qgsdelimitedtextprovider.cpp

Added by Loïc BARTOLETTI over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:FreeBSD Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16773

Description

GNU Make can't compile the file delimitedtext/qgsdelimitedtextprovider.cpp because of it's encoding :

[ 40%] Building CXX object src/providers/delimitedtext/CMakeFiles/delimitedtextprovider.dir/qgsdelimitedtextprovider.cpp.o
/usr/home/bart/Quantum-GIS/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp:1: *error: stray '\\357' in program*
/usr/home/bart/Quantum-GIS/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp:1: *error: stray '\\273' in program*
/usr/home/bart/Quantum-GIS/src/providers/delimitedtext/qgsdelimitedtextprovider.cpp:1: *error: stray '\\277' in program*
gmake[2]: *** [src/providers/delimitedtext/CMakeFiles/delimitedtextprovider.dir/qgsdelimitedtextprovider.cpp.o] Erreur 1
gmake[1]: *** [src/providers/delimitedtext/CMakeFiles/delimitedtextprovider.dir/all] Erreur 2
gmake: *** [all] Erreur 2

Encoding of files :
src/providers/delimitedtext/qgsdelimitedtextfeatureiterator.cpp: C source, ASCII text
src/providers/delimitedtext/qgsdelimitedtextfile.cpp: C source, ASCII text
src/providers/delimitedtext/qgsdelimitedtextprovider.cpp: C source, UTF-8 Unicode (with BOM) text
src/providers/delimitedtext/qgsdelimitedtextsourceselect.cpp: C source, ASCII text

Solution :
Convert qgsdelimitedtextprovider.cpp into ASCII file

Associated revisions

History

#1 Updated by Jürgen Fischer over 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF