Apologies for top-posting...it seems firefox & hotmail aren't getting along at
the moment, and everytime I click 'reply', I get a blank page without the 
previous message being quoted....{sigh}.....makes it hard to bottom-post
when there is no 'bottom'.... ;)...


.....now that I look at this again, it's actually the declaration of PATH_MAX 
that's
fooling the rabbit....thing is, I'm not exactly sure where this declaration 
should be
instantiated from? If you look at the previous attachments, you'll note the code
includes "mcopconfig.h" ....which looks like;

------------><------------

#ifndef 
MCOPCONFIG_H                                                                                                      
 
#define 
MCOPCONFIG_H                                                                                                      
 
                                                                                                                          
 
#include 
<string>                                                                                                         
 
#include 
<vector>                                                                                                         
 
                                                                                                                          
 
#include 
"arts_export.h"                                                                                                  
 
                                                                                                                          
 
namespace Arts 
{                                                                                                          
 
                                                                                                                          
 
class 
MCOPConfigPrivate;                                                                                                  
 
class ARTS_EXPORT MCOPConfig 
{                                                                                            
 
private:                                                                                                                  
 
        MCOPConfigPrivate *d;  // 
unused                                                                                  
 
protected:                                                                                                                
 
        std::string 
filename;                                                                                             
 
                                                                                                                          
 
public:                                                                                                                   
 
        MCOPConfig(const std::string& 
filename);                                                                          
 
                                                                                                                          
 
        std::string readEntry(const std::string& 
key,                                                                      
                                                                const 
std::string& defaultValue = "");                     
        std::vector<std::string> *readListEntry(const std::string& 
key);                                                   
};                                                                                                                        
 
                                                                                                                          
 
}                                                                                                                         
 
#endif /* MCOPCONFIG_H */

------------><------------

"arts_export.h" (attached) doesn't seem participle here.....


If I do something rogue like pull the declaration of PATH_MAX from #include 
<limits.h>
(add that includeline just above 'using namespace std;' in mcoputils.cc), it's 
all happy
again....but that's very possibly the wrong way to go about it --- my thinking 
is something
in  #include <namespace>  has shifted, and/or mcoputils.cc needs to also 
include an
extra #include <name> to grab the PATH_MAX definition...

Any ideas on the 'proper' resolution here for a patch?

Cheers!

Don
                                          
_________________________________________________________________
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/

Attachment: arts_export.h
Description: Binary data

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to