First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 132532
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tupone Alfredo <tupone@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
jugglemaster-0.4-ffmpeg.patch jugglemaster-0.4-ffmpeg.patch patch Tristan Heaven 2006-06-02 18:44 0000 329 bytes Details | Diff
bugg.h bugg patch Nyanda 2009-07-05 14:46 0000 347 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 132532 depends on: Show dependency tree
Bug 132532 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-07 02:06 0000
Here is some of the log that show the error
make[1]: Leaving directory
`/var/tmp/portage/jugglemaster-0.4/work/jugglemaster-0.4/src/jmlib'
g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags`
-DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o advsite.o advsite.cpp
patt.cpp: In member function 'int PatternLoader::OpenFile(const char*, int)':
patt.cpp:74: error: ambiguous overload for 'operator+=' in 'targetfilename +=
"/.jugglemaster/"'
/usr/include/wx/string.h:563: note: candidates are: void
wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void
wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void
wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:77: error: ambiguous overload for 'operator=' in 'targetfilename = ""'
/usr/include/wx/string.h:278: note: candidates are: wxString&
wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString&
wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString&
wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString&
wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:80: error: ambiguous overload for 'operator+=' in 'targetfilename +=
filename'
/usr/include/wx/string.h:563: note: candidates are: void
wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void
wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void
wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:82: error: ambiguous overload for 'operator=' in 'targetfilename =
filename'
/usr/include/wx/string.h:278: note: candidates are: wxString&
wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString&
wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString&
wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString&
wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:85: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:86: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:89: error: conversion from 'const char*' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:90: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:93: error: call of overloaded 'wxString(const char [33])' is ambiguous
/usr/include/wx/string.h:322: note: candidates are: wxString::wxString(const
wxWCharBuffer&) <near match>
/usr/include/wx/string.h:306: note:                 wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:291: note:                 wxString::wxString(const
wxString&) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:96: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:96: error:   initializing argument 1 of 'wxString&
wxString::Append(wxChar, size_t)'
patt.cpp:97: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:103: error: conversion from 'const char [11]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:104: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:104: error:   initializing argument 1 of 'int wxString::Find(wxChar,
bool) const'
patt.cpp:105: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:105: error:   initializing argument 1 of 'int wxString::Find(wxChar,
bool) const'
patt.cpp:115: error: conversion from 'const char [9]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:127: error: conversion from 'const char [35]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:127: error: conversion from 'const char [6]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:130: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:133: warning: control reaches end of non-void function
make: *** [patt.o] Error 1
make: *** Waiting for unfinished jobs....
choosestyle.h:30: error: conversion from 

------- Comment #1 From Tupone Alfredo 2006-05-07 02:06:32 0000 -------
Here is some of the log that show the error
make[1]: Leaving directory
`/var/tmp/portage/jugglemaster-0.4/work/jugglemaster-0.4/src/jmlib'
g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags`
-DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o advsite.o advsite.cpp
patt.cpp: In member function 'int PatternLoader::OpenFile(const char*, int)':
patt.cpp:74: error: ambiguous overload for 'operator+=' in 'targetfilename +=
"/.jugglemaster/"'
/usr/include/wx/string.h:563: note: candidates are: void
wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void
wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void
wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:77: error: ambiguous overload for 'operator=' in 'targetfilename = ""'
/usr/include/wx/string.h:278: note: candidates are: wxString&
wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString&
wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString&
wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString&
wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:80: error: ambiguous overload for 'operator+=' in 'targetfilename +=
filename'
/usr/include/wx/string.h:563: note: candidates are: void
wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void
wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void
wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:82: error: ambiguous overload for 'operator=' in 'targetfilename =
filename'
/usr/include/wx/string.h:278: note: candidates are: wxString&
wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString&
wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString&
wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString&
wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:85: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:86: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:89: error: conversion from 'const char*' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:90: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:93: error: call of overloaded 'wxString(const char [33])' is ambiguous
/usr/include/wx/string.h:322: note: candidates are: wxString::wxString(const
wxWCharBuffer&) <near match>
/usr/include/wx/string.h:306: note:                 wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:291: note:                 wxString::wxString(const
wxString&) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:96: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:96: error:   initializing argument 1 of 'wxString&
wxString::Append(wxChar, size_t)'
patt.cpp:97: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:103: error: conversion from 'const char [11]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:104: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:104: error:   initializing argument 1 of 'int wxString::Find(wxChar,
bool) const'
patt.cpp:105: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:105: error:   initializing argument 1 of 'int wxString::Find(wxChar,
bool) const'
patt.cpp:115: error: conversion from 'const char [9]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:127: error: conversion from 'const char [35]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:127: error: conversion from 'const char [6]' to 'const wxString' is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
patt.cpp:130: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:133: warning: control reaches end of non-void function
make: *** [patt.o] Error 1
make: *** Waiting for unfinished jobs....
choosestyle.h:30: error: conversion from ‘const char [7]’ to ‘wxString’ is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
choosestyle.h:30: error: conversion from ‘const char [11]’ to ‘wxString’ is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
choosestyle.h:30: error: conversion from ‘const char [9]’ to ‘wxString’ is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
choosestyle.h:30: error: conversion from ‘const char [8]’ to ‘wxString’ is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int)
<near match>
choosestyle.h:30: error: conversion from ‘const char [7]’ to ‘wxString’ is
ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar,
size_t) <near match>

------- Comment #2 From Mark Loeser 2006-05-15 12:21:48 0000 -------
Not a gcc-4.1 bug.  This is due to the app not being unicode aware, and using
the unicode headers.  (atleast, that's what a member of wx upstream told me,
and it does fail with gcc-3.4)

------- Comment #3 From Tupone Alfredo 2006-05-31 14:55:36 0000 -------
after recompiling wxGTK without unicode I get the following problem (with
ffmpeg):

g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags`
-DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o print.o print.cpp
print.cpp: In member function 'int Print::printMPEG()':
print.cpp:562: error: 'struct AVCodecContext' has no member named 'frame_rate'
print.cpp:563: error: 'struct AVCodecContext' has no member named
'frame_rate_base'

------- Comment #4 From Tristan Heaven 2006-06-02 18:44:53 0000 -------
Created an attachment (id=88224) [details]
jugglemaster-0.4-ffmpeg.patch

Try this

------- Comment #5 From Tupone Alfredo 2006-06-03 03:30:55 0000 -------
Fixed. Thanks for patch

------- Comment #6 From Nyanda 2009-07-05 14:46:32 0000 -------
Created an attachment (id=196775) [details]
bugg

------- Comment #7 From Samuli Suominen 2009-07-05 15:41:33 0000 -------
(In reply to comment #6)
> Created an attachment (id=196775) [edit] [details]
> bugg
> 

Commenting here on ancient bug won't help at all.

If you have a problem with current ffmpeg and/or jugglemaster you need to open
new bug.

First Last Prev Next    No search results available      Search page      Enter new bug