Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Reflect the inclusion of gant. Also move the debian and gentoo meta
data under the scripts folder for clarity and to avoid conflicts with
the downstream debian package layout.
|
|
|
|
e.g.:
antpm/src/gant/gant.c:35:21: warning: comma at end of enumerator list [-pedantic]
antpm/src/gant/gant.c: In function ‘dump_data’:
antpm/src/gant/gant.c:264:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
antpm/src/gant/gant.c:267:24: warning: pointer of type ‘void *’ used in arithmetic [-pedantic]
antpm/src/gant/gant.c:267:33: warning: pointer of type ‘void *’ used in arithmetic [-pedantic]
antpm/src/gant/gant.c:275:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
antpm/src/gant/gant.c:284:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
antpm/src/gant/antlib.cpp:233:24: error: assigning to 'unsigned char *' from incompatible type 'void *'
burstbuf[chan] = malloc(BSIZE);
^ ~~~~~~~~~~~~~
antpm/src/gant/antlib.cpp:247:25: error: assigning to 'unsigned char *' from incompatible type 'void *'
burstbuf[chan] = malloc(BSIZE);
^ ~~~~~~~~~~~~~
antpm/src/gant/antlib.cpp:256:25: error: assigning to 'unsigned char *' from incompatible type 'void *'
burstbuf[chan] = realloc(burstbuf[chan], bused[chan]+BSIZE);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
antpm/src/gant/antlib.c: In function ‘commfn’:
antpm/src/gant/antlib.c:366:20: warning: unused parameter ‘arg’ [-Wunused-parameter]
antpm/src/gant/antlib.c: In function ‘ANT_Initf’:
antpm/src/gant/antlib.c:406:33: warning: unused parameter ‘baud’ [-Wunused-parameter]
antpm/src/gant/antlib.c: In function ‘ANT_Init’:
antpm/src/gant/antlib.c:435:30: warning: unused parameter ‘baud’ [-Wunused-parameter]
antpm/src/gant/antlib.c: In function ‘ANT_AssignChannelEventFunction’:
antpm/src/gant/antlib.c:618:38: warning: unused parameter ‘chan’ [-Wunused-parameter]
antpm/src/gant/gant.c: In function ‘chevent’:
antpm/src/gant/gant.c:821:9: warning: variable ‘newdata’ set but not used [-Wunused-but-set-variable]
antpm/src/gant/antlib.c: In function ‘ANT_AssignChannelEventFunction’:
antpm/src/gant/antlib.c:619:38: warning: unused parameter ‘chan’ [-Wunused-parameter]
|
|
src/gant/gant.c: In function ‘dump_data’:
src/gant/gant.c:268:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
|
|
replace README
|
|
|
|
|
|
Do this by merging the branch upstream from git+ssh://git.debian.org/git/pkg-running/garmin-ant-downloader.git into the src/gant folder.
|
|
|
|
|
|
|
|
|
|
|
|
Otherwise the updated LastTransferredTime will never be persisted, and next time all files are downloaded again.
|
|
|
|
|
|
Building CXX object CMakeFiles/antpm.dir/SerialTty.cpp.o
In file included from /home/tade/dev/antpm/src/SerialTty.cpp:13:
In file included from /home/tade/dev/antpm/src/./SerialTty.hpp:15:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/queue:64:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_function.h:741:
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward/binders.h:126:16: error: no matching function for call to object of type 'const antpm::contains'
{ return op(value, __x); }
^~
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algo.h:1176:18: note: in instantiation of member function 'std::binder1st<antpm::contains>::operator()' requested
here
if(!bool(__pred(*__first)))
^
/home/tade/dev/antpm/src/SerialTty.cpp:262:25: note: in instantiation of function template specialization 'std::remove_if<__gnu_cxx::__normal_iterator<std::basic_string<char> *,
std::vector<std::basic_string<char>, std::allocator<std::basic_string<char> > > >, std::binder1st<antpm::contains> >' requested here
possibleNames.erase(remove_if(possibleNames.begin(),
^
/home/tade/dev/antpm/src/SerialTty.cpp:236:15: note: candidate function not viable: 'this' argument has type 'const antpm::contains', but method is not marked const
inline bool operator() (vector<string> v, string e) {return find(v.begin(), v.end(), e) != v.end();}
^
1 error generated.
|
|
|
|
|
|
|
|
as git-dch still makes mistakes
|
|
W: antpm: hardening-no-fortify-functions usr/bin/antpm-downloader
W: antpm: hardening-no-fortify-functions usr/bin/antpm-fit2gpx
W: antpm: hardening-no-fortify-functions usr/bin/antpm-usbmon2ant
by using dpkg-buildflags
|
|
|
|
to support USB2ANT dongles with USB product id of 1008
|
|
Run all tools at least once. If valgrind is available, use it to check for memory leaks.
|
|
and not only built
|
|
also make travis run them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
due to the verbosity changes in mkDir(), thus introduce mkdirNoLog()
|
|
|
|
|
|
|
|
maybe the folder is already there and we can just use it
|
|
|
|
be verbose about mkDir failures
|
|
|
|
gcc 4.4.5 complained
|
|
|
|
see http://code.google.com/p/antpm/issues/detail?id=1
|