[Clfs-dev] CBLFS -- arts

db m myheadblewoff at hotmail.com
Tue Apr 13 20:53:33 PDT 2010


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arts_export.h
Type: application/octet-stream
Size: 1914 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20100414/0a0044aa/attachment-0002.obj>


More information about the Clfs-dev mailing list