option for generator use unique_ptr rather than auto_ptr

13 views
Skip to first unread message

Pedro Mello

unread,
May 8, 2015, 9:31:58 AM5/8/15
to wsf-...@googlegroups.com
Using staff classes on c++11 enabled projects throws lots of warnings about auto_ptr begin deprecated. Would be awesome to have a switch on staff_generator to output unique_ptr to the generated code.

Dmitry Utkin

unread,
May 8, 2015, 10:23:33 AM5/8/15
to wsf-...@googlegroups.com
It's already done


c++11true, falseenable c++11 support: generate std::unique_ptr instead of std::auto_ptr,
add -std=gnu++0x option into Makefiles and .pro files


Use:

staff_codegen -dc++11 .....



2015-05-08 16:31 GMT+03:00 Pedro Mello <pedro...@gmail.com>:
Using staff classes on c++11 enabled projects throws lots of warnings about auto_ptr begin deprecated. Would be awesome to have a switch on staff_generator to output unique_ptr to the generated code.

--

---
You received this message because you are subscribed to the Google Groups "wsf-staff" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wsf-staff+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards, Dmitry Utkin.

   E-Mail: loe...@gmail.com
   Skype: loentar

Pedro Mello

unread,
Jun 1, 2015, 8:59:56 AM6/1/15
to wsf-...@googlegroups.com
My hero! I really did missed this entry on docs. Thanks
Reply all
Reply to author
Forward
0 new messages