[oss-devel] Strange bug.... (file attached)

SIEGERSTEIN siegerstein at pochta.ru
Thu Nov 29 16:45:11 EET 2007


SIEGERSTEIN пишет:
> Can't create correctly list by using
> std::map<const char*, int>
> But std::map<std::string, int> work good.
> 
> File attached ( bug.cpp ); // 3.4Kb
> 
> Check this. It probably must be fixed.
> 

Can any body submit it?

./bug

******************************************
Starting NOT working method...

it->first: vmix0-in
it->second: 34

End NOT working method.
******************************************

******************************************
Starting working method...

it->first: aux1
it->second: 20

it->first: cd
it->second: 15

it->first: center
it->second: 34

it->first: igain
it->second: 18

it->first: line
it->second: 9

it->first: mic
it->second: 12

it->first: mono
it->second: 26

it->first: pcm
it->second: 5

it->first: phone
it->second: 23

it->first: rear
it->second: 32

it->first: speaker
it->second: 7

it->first: video
it->second: 29

it->first: vol
it->second: 2

End working method.
******************************************


Bests,
Alex J. Ivasyuv // SIEGERSTEIN


More information about the oss-devel mailing list