Skip to content

Commit

Permalink
better logging,
Browse files Browse the repository at this point in the history
optimized build by default



git-svn-id: svn://dyne.org/montevideo/ivysync@70 949728d9-16ea-0310-a75c-cbdf8430a4b8
  • Loading branch information
jaromil committed Oct 10, 2006
1 parent 950ca4e commit 0b227c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions trunk/Makefile
Expand Up @@ -12,9 +12,9 @@ GTKFLAGS = `pkg-config --cflags gtk+-2.0`
GTKLIBS = `pkg-config --libs gtk+-2.0`

# debugging flags:
CPPFLAGS = -I. -Ixmlrpc++ -Wall -g -ggdb $(GTKFLAGS)
#CPPFLAGS = -I. -Ixmlrpc++ -Wall -g -ggdb $(GTKFLAGS)
# optimized flags:
#CPPFLAGS = -I. -Ixmlrpc++ -Wall -O2 -fomit-frame-pointer -ffast-math $(GTKFLAGS)
CPPFLAGS = -I. -Ixmlrpc++ -Wall -O2 -fomit-frame-pointer -ffast-math $(GTKFLAGS)



Expand Down
2 changes: 1 addition & 1 deletion trunk/decoder.cpp
Expand Up @@ -432,7 +432,7 @@ int Decoder::getpos() {
if(!filesize) return 0;

percent = (int) ( (filepos * 100) / filesize );
D("movie %s at position %u %% (%lu byte)",
D("movie %s at position~ %u %% (%lu byte)",
playlist[position]->name, percent, filepos);
return percent;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/xmlrpc.cpp
Expand Up @@ -147,6 +147,7 @@ void Open::execute(XmlRpcValue &params, XmlRpcValue &result) {
FILE *fd;
fd = fopen(path, "r");
if(!fd) {
E("error opening file '%s': %s", path, strerror(errno));
result = 0.0;
return;
} else fclose(fd);
Expand Down

0 comments on commit 0b227c4

Please sign in to comment.