Skip to content

Old error cU16_HELP(par) is back? #18

@wernerflamme

Description

@wernerflamme

Hi Piers,

I downloaded the latest NWRFCSDK (nwrfc750P_5-70002752.zip), and when running perl -MCPAN -e "install sapnwrfc" I get into an old error:

gcc -E -c  -I/usr/local/nwrfcsdk/include  \
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic \
  -DVERSION=\"0.37\" \
-DXS_VERSION=\"0.37\" -fPIC "-I/usr/lib64/perl5/CORE"  -DSAPwithUNICODE  -DSAPonUNIX  -D__NO_MATH_INLINES -fPIC  -DSAPwithTHREADS   Connection.c > Connection.ii
In file included from /usr/local/nwrfcsdk/include/sapnwrfc.h:9:0,
                 from Connection.xs:23:
/usr/local/nwrfcsdk/include/sapuc.h:908:26: error: pasting "u" and "'\0'" does not give a valid preprocessing token
   #define cU16_HELP(par) u##par
                          ^
/usr/local/nwrfcsdk/include/sapuc.h:888:24: note: in expansion of macro 'cU16_HELP'
 #define cU16(par)      cU16_HELP(par) /* if par is a macro, it must be ...    */

This occurs on a host with Centos 7.7, perl 5.16.3. What can I do to get this perl module installed?

Regards,
Werner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions