public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libobjc/28433] New: objc_write_type fails for floats and doubles @ 2006-07-19 11:08 issac dot trotts at gmail dot com 2006-07-19 11:12 ` [Bug libobjc/28433] " pinskia at gcc dot gnu dot org 2010-09-08 18:16 ` nicola at gcc dot gnu dot org 0 siblings, 2 replies; 3+ messages in thread From: issac dot trotts at gmail dot com @ 2006-07-19 11:08 UTC (permalink / raw) To: gcc-bugs ijtrotts@localhost:/tmp$ gcc objc_float_bug.m -lobjc ijtrotts@localhost:/tmp$ ./a.out objc_write_type: cannot parse typespec: f Aborted ijtrotts@localhost:/tmp$ cat objc_float_bug.m #include <objc/Object.h> int main() { float x=1.25; TypedStream* stream = objc_open_typed_stream_for_file("foo",OBJC_WRITEONLY); objc_write_type(stream, @encode(float), &x); objc_close_typed_stream(stream); return 0; } ijtrotts@localhost:/tmp$ gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs Configured with: ../gcc-3.3.5/configure --enable-languages=c,c++,f77,objc --enable-objc-gc Thread model: posix gcc version 3.3.5 -- Summary: objc_write_type fails for floats and doubles Product: gcc Version: 3.3.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libobjc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: issac dot trotts at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28433 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libobjc/28433] objc_write_type fails for floats and doubles 2006-07-19 11:08 [Bug libobjc/28433] New: objc_write_type fails for floats and doubles issac dot trotts at gmail dot com @ 2006-07-19 11:12 ` pinskia at gcc dot gnu dot org 2010-09-08 18:16 ` nicola at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-07-19 11:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-19 11:12 ------- Right, it was never did. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-07-19 11:12:26 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28433 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libobjc/28433] objc_write_type fails for floats and doubles 2006-07-19 11:08 [Bug libobjc/28433] New: objc_write_type fails for floats and doubles issac dot trotts at gmail dot com 2006-07-19 11:12 ` [Bug libobjc/28433] " pinskia at gcc dot gnu dot org @ 2010-09-08 18:16 ` nicola at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: nicola at gcc dot gnu dot org @ 2010-09-08 18:16 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from nicola at gcc dot gnu dot org 2010-09-08 18:16 ------- objc/typedstream.h has been deprecated in 4.6.0 and will be removed in the next GCC release. There is no point in trying to fix a bug in it. Please use gnustep-base or some other Foundation-type library if you need serialization/deserialization of objects! gnustep-base has wonderful support for that, in many different shapes and forms! :-) Thanks -- nicola at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28433 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-08 18:16 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-07-19 11:08 [Bug libobjc/28433] New: objc_write_type fails for floats and doubles issac dot trotts at gmail dot com 2006-07-19 11:12 ` [Bug libobjc/28433] " pinskia at gcc dot gnu dot org 2010-09-08 18:16 ` nicola at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).