Menu

#56 compile error in testsuite2/numbertostring/isNumeric.cpp

open
nobody
None
5
2012-07-16
2012-07-16
Anonymous
No

libjson v7.6.1 [MSVC v1600 32bit (x86)] Jul 16 2012, 10:31:56
Compilation options:
JSON_DEBUG JSON_SAFE JSON_STDERROR JSON_PREPARSE JSON_REF_COUNT JSON_BINARY JSON_EXPOSE_BASE64 JSON_ITERATORS JSON_STREAM JSON_MEMORY_CALLBACKS JSON_OCTAL JSON_COMMENTS JSON_VALIDATE JSON_CASE_INSENSITIVE_FUNCTIONS

In isNumeric.cpp line 280, NumberToString::_atof() is not declared in class NumberToString unless JSON_STRICT is defined.
If I remove the #ifdef JSON_STRICT in numbertostring.h, then testapp compiles but it has 4 failed tests (not sure if these are related):

TestWriter.cpp - ascii one char: (result) == ("[\n\t\"I said: \\\"foo!\\\"\"\n]")

TestWriter.cpp - ascii one char: (result) == ("[\n\t\"I said: \\\"foo!\\\"\"\n]")

TestWriter.cpp - ascii one char: (result) == ("[\n\t\"I said: \\\"foo!\\\"\"\n]")

TestWriter.cpp - ascii one char: (result) == ("[\n\t\"I said: \\\"foo!\\\"\"\n]")

Discussion

  • Nobody/Anonymous

    Hey there! I know this is kinda off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one? Thanks a lot!
    north face osito http://tbfpxhrd7224.webgarden.com/

     
  • Nobody/Anonymous

    <a href="http://survival-gear.info" title="survival kits">survival kits</a> For more info: Visit Aquapac's website to your blisters cuts or grazes. It's pre-paid2: I can cook inside on rainy days.

     
  • Nobody/Anonymous

    Right now it sounds like BlogEngine is the preferred blogging platform available right now. (from what I've read) Is that what you are using on your blog? [url=http://dirtyoilsands.org/member/316126]Fredericka Tron[/url]

     
  • Nobody/Anonymous

    43oSyl <a href="http://wdeldebfyhmw.com/">wdeldebfyhmw</a>, [url=http://apvhytarxnkc.com/]apvhytarxnkc[/url], [link=http://uhdutnwzpbmi.com/]uhdutnwzpbmi[/link], http://jjibtgvtknop.com/