bugClanLib - Bugs: bug #6431, When including network.h after...

 
 

bug #6431: When including network.h after gl.h the app won't compile

Submitted by:  Matthias Blankertz <linuXfreak2>
Submitted on:  Sat 08 Nov 2003 10:35:31 AM UTC  
 
Category: clanNetworkSeverity: 3 - Normal
Item Group: Build ProblemStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: GNU/LinuxPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Nov 2003 10:35:31 AM UTC, original submission:

When in the includes for my app the line
#include <ClanLib/gl.h>
is before the line
#include <ClanLib/network.h>
i get some peculiar errors:

g++ -Wall -I/usr/local/include/ClanLib-0.7 -c main.cpp
In file included from /usr/local/include/ClanLib-0.7/ClanLib/network.h:41,
from main.cpp:2:
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:63: error: Syntaxfehler
before `int'
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:76: error: missing
';' before right brace
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:95: error: Syntaxfehler
before `public'
/usr/local/include/ClanLib-0.7/ClanLib/Network/IRC/dcc_download.h:103: error: Syntaxfehler
before `private'
make: *** [main.o] Fehler 1

if i put the gl include after the network include, it compiles fine.

Matthias Blankertz <linuXfreak2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 12 Jan 2004 04:10:59 PM UTCsphairStatusNone=>Duplicate
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1