Red Hat Bugzilla – Bug 132301
subscripts out of range
Last modified: 2007-11-30 17:10:49 EST
Description of problem:
I just tried to compile package oprofile-0.8-20040511.11 from
Redhat Fedora Core 3 Test 1.
The compiler said
op_regex.cpp(288): warning #175: subscript out of range
The source code is
throw bad_regex("invalid input file: " + '"' + line + '"');
throw bad_regex("invalid input file: " + "\"" + line + "\"");
op_regex.cpp(296): warning #175: subscript out of range
op_regex.cpp(307): warning #175: subscript out of range
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I have been unable to replicate this. On FC3 test 1 on AMD64 machine.
What is the build environment, FC3 test1? What version of gcc/g++ and
related libraries are being used.
I also tried to replicate on a i386 (Pentium III) machine running FC3
with latest updates (september 14, 2004). I was unable to replicate
this problem. oprofile built without any problems.