[zeromq-dev] How to specify stable when using GSL

Osiris Pedroso opedroso at gmail.com
Fri Mar 25 16:46:50 CET 2016


In case you prefer this format:

G:\malamute>git diff include\mlm_proto.h
diff --git a/include/mlm_proto.h b/include/mlm_proto.h
index a6b27e5..1e73a2b 100644
--- a/include/mlm_proto.h
+++ b/include/mlm_proto.h
@@ -20,9 +20,7 @@ extern "C" {
 //  @warning THE FOLLOWING @INTERFACE BLOCK IS AUTO-GENERATED BY ZPROJECT
 //  @warning Please edit the model at "api/mlm_proto.api" to make changes.
 //  @interface
-//  This is a draft class, and may change without notice. It is disabled in
-//  stable builds by default. If you use this in applications, please ask
-//  for it to be pushed to stable state. Use --enable-drafts to enable.
+//  This API is a draft, and may change without notice.
 #ifdef MLM_BUILD_DRAFT_API
 #define MLM_PROTO_SUCCESS 200               //
 #define MLM_PROTO_FAILED 300                //

On Fri, Mar 25, 2016 at 10:36 AM Osiris Pedroso <opedroso at gmail.com> wrote:

I have made some changes to zproject (Windows building scripts) and
> regenerated zeromq/malamute project with those changes using these steps:
>
> #!/usr/bin/env bash
>
> set -x
>
> ( cd ~/git/zproject && ./autogen.sh && ./configure && make && sudo make install ) || exit 1
>
> #git clone --depth 1 https://github.com/imatix/gsl gsl
> ( cd ~/git/gsl/src && make -j4 && sudo make install ) || exit 1
>
> #git clone --depth 1 https://github.com/zeromq/czmq czmq
> ( cd ~/git/czmq && gsl -target:* project.xml ) || exit 1
>
> #git clone --depth 1 https://github.com/zeromq/malamute malamute
> ( cd ~/git/malamute && gsl -target:* project.xml ) || exit 1
>
> The problem is that I end up with differences between the generated files
> which are note related to my changes to GSL files
> (malamute/include/mlm_proto.h):
>
> OLD:
>
> //  This is a draft class, and may change without notice. It is disabled in//  stable builds by default. If you use this in applications, please ask//  for it to be pushed to stable state. Use --enable-drafts to enable.
>
> NEW:
>
> //  This API is a draft, and may change without notice.
>
> From the .GSL script, it seems to indicate that one was built with
> project.stable set and the other was not.
>
> How do I specify to gsl command line that I want to build with stable set?
>>
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160325/ad3b81a2/attachment.htm>


More information about the zeromq-dev mailing list