[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Included files order
From: |
Federico Montesino Pouzols |
Subject: |
Re: Included files order |
Date: |
Mon, 6 Jan 2003 17:37:28 +0100 |
User-agent: |
Mutt/1.4i |
It may have to do with some configuration symbols being
wrongly defind/undefined. What is your system configuration?
On Fri, Jan 03, 2003 at 10:10:17AM +0200, Roee Friedman wrote:
> Hello!
> I have seen the problem discussed about a year ago, but it still not fixed.
> I am using CC++ 2 (1.0.7).
> It seems that still the inclusion of <fstream> or <iostream> before
> <cc++/socket.h> breaks the compilation with error:
>
> In file included from /usr/local/include/cc++/socket.h:54,
> from MailServer.h:3,
> from mailclin.h:10,
> from mailclin.cpp:1:
> /usr/local/include/cc++/thread.h:320: syntax error before `;'
>
> the order of inclusion is:
>
> #include <fstream>
> #include <iostream>
> #include <cstdio>
> #include <new>
>
> #include "MailServer.h" // <-- This file includes <cc++/socket.h>
>
> In order to compile the project, I either have to move the last include to be
> the first or include <cc++/socket.h> first.
>
> Roee
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
- Included files order, Roee Friedman, 2003/01/03
- Re: Included files order,
Federico Montesino Pouzols <=