Displaying 7 results from an estimated 7 matches for "find_first_not_of".
2013 Apr 19
3
[LLVMdev] funny llvm bug
This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
ELF target this function tries to escape string if it founds
'suspicious' character, see implementation in MCSectionELF.cpp:
StringRef name = getSectionName();
if (name.find_first_not_of("0123456789_."
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
OS << "\t.section\t" << name;
} else {
OS << "\t.section\t\"";
As s...
2013 Apr 19
0
[LLVMdev] funny llvm bug
...rge Pavlov wrote:
> This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
> ELF target this function tries to escape string if it founds
> 'suspicious' character, see implementation in MCSectionELF.cpp:
>
> StringRef name = getSectionName();
> if (name.find_first_not_of("0123456789_."
> "abcdefghijklmnopqrstuvwxyz"
> "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
> OS << "\t.section\t" << name;
> } else {
> OS << "\t.sect...
2013 Apr 19
3
[LLVMdev] funny llvm bug
I'm going to file this bug but it's kind of a blocker for me so maybe
someone has time
to look at it. Should be nearly trivial to fix.
It's a bug in the way the "section" attribute of functions is processed.
Consider the following code:
void x(int i) __attribute((section(".mySection,\"aw\", at progbits#")));
void x(int i) {
}
If you compile this
2013 Apr 19
0
[LLVMdev] funny llvm bug
On Thu, Apr 18, 2013 at 06:57:29PM -0700, reed kotler wrote:
> I'm going to file this bug but it's kind of a blocker for me so
> maybe someone has time
> to look at it. Should be nearly trivial to fix.
I don't think this is a bug, but a misfeature in GCC due to the way it
does (non-)escaping.
Joerg
2011 Oct 21
0
Wine release 1.3.31
...086 Army Builder v3.3b: buttons not clickable
28261 Original War: the user interface appears incorrectly (ddr=opengl)
28291 Heroes III: sound stops and program hangs at exit
28346 Paraworld hangs after playing the intro videos with Opengl renderer
28352 Nightly (x64) needs msvcp90.dll.?find_first_not_of@?$basic_string at _WU?$char_traits at _W@std@@V?$allocator at _W@2@@std@@QEBA_KPEB_W_K at Z
28356 Loki requires msvcp80.dll.??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QBEABDU_Size_type_nosscl at 01@@Z
28395 MAKING HISTORY II: The War of the World Demo wants msvcp...
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "
2008 Jul 30
3
Dealing with image PDF's
Guys,
I was just playing around and added a bit of code to omindex.cc so I
could ocr tiff and tif with gocr which seems to work. Here's what it
looks like:
// Tiff:
} else if (startswith(mimetype, "image/tif"))
{
// Inspired by http://mjr.towers.org.uk/comp/sxw2text
string safefile = shell_protect(file);
string cmd = "tifftopnm " + safefile + "