[zeromq-dev] Code organization

gonzalo diethelm gdiethelm at dcv.cl
Tue Feb 16 13:41:26 CET 2010

> > I saw a couple of ugly includes like these in zmq_streamer.cpp:
> >
> >   #include "../../bindings/cpp/zmq.hpp"
> >   #include "../../foreign/xmlParser/xmlParser.cpp"
> This is because the build on zmq_streamer is done in the source tree
> (before the header files are installed).

Just to clarify, and not to push my point any further, what I meant is
that source code for zmq and source code using zmq could always use:

  #include <zmq/zmq.h>
  #include <zmq/zmq.hpp>

When compiling zmq in the repo, you could find these files with an
appropriate -I flag; when compiling code that uses zmq (that is, zmq has
been installed), same thing. In other words, it would work everywhere
and it would allow you to have all zmq's header files isolated (which is
nice). This will be helpful if you ever have a C++ file with a template,
because you will have to install it when installing zmq.

> > A question: is anybody working on porting zmq to cygwin?
> Several people have asked this question, but AFAIK nobody's really
> working at it at the moment.

I will give it a try; never ported anything with autoconf to cygwin,
we'll see how it goes.

Gonzalo Diethelm

Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 

More information about the zeromq-dev mailing list