libpal updates

This commit is contained in:
Shawn Quick 2022-01-17 11:21:57 -08:00
parent a7b040e182
commit e1f1f662df
7 changed files with 37 additions and 34 deletions

View File

@ -23,7 +23,7 @@ set(SOURCE
)
#find_package(OpenSSL REQUIRED)
find_package( Poco REQUIRED Foundation Util XML JSON )
find_package( Poco REQUIRED Foundation Util XML JSON Net )
if ( ${CIDER} )
find_package( ZLIB )

View File

@ -78,7 +78,8 @@ void CLASS::print(uint32_t lineno)
nc = nc1;
}
if ((!isatty(STDOUT_FILENO)) || (merlinerrors))
//if ((!isatty(STDOUT_FILENO)) || (merlinerrors))
if ((!isatty(STDOUT_FILENO)) || (0))
{
nc = true;
}

View File

@ -6,9 +6,8 @@
#define NO_SIGNAL_HANDLING
//#define SERVERAPP
//#define ENABLE_SSL
//#define USE_LOGGER
#define USE_LOGGER
//#define USE_NET
//#define USE_SSL
//#define USE_JSON

View File

@ -45,6 +45,7 @@ void CLASS::displayVersion()
}
#ifdef SERVERAPP
int CLASS::runServerApp(PAL_EVENTMANAGER *em)
{
int res = -1;
@ -63,6 +64,7 @@ int CLASS::runServerApp(PAL_EVENTMANAGER *em)
}
return (res);
}
#endif
void CLASS::showerror(int ecode, std::string fname)
{

2
qasm.h
View File

@ -19,7 +19,9 @@ class CLASS : public PAL_BASEAPP
protected:
void showerror(int ecode,std::string fname);
virtual int runCommandLineApp(void);
#ifdef SERVERAPP
virtual int runServerApp(PAL_EVENTMANAGER *em);
#endif
virtual void displayVersion();
public:

View File

@ -1,4 +1,4 @@
;lst off
lst off
xc off
xc
xc
@ -15,7 +15,6 @@ immed = $123456
neg equ -16
*]var1 = v1234
;lst off
start00
brk ;$00