I’m encountering a compile warning with pgcc [perhaps due to a duplcate definition in pgi incude file]. I can workarround by commenting out the offending line.
Thanks,
balay@imav^~/junk $ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.2
BuildVersion: 13C64
balay@imav^~/junk $ clang --version
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
balay@imav^~/junk $ pgcc --version
pgcc 14.3-0 64-bit target on Apple OS/X developer
The Portland Group - PGI Compilers and Tools
Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
balay@imav^~/junk $ cat x.c
#include <stdio.h>
#include <stdarg.h>
int main(int argc,char **args)
{
printf(“testing\n”);
return 0;
}
balay@imav^~/junk $ pgcc x.c
PGC-W-0114-More than one type specified (/Applications/Free PGI.app/Contents/Resources/pgi/osx86-64/14.3/include/va_list.h: 34)
PGC-W-0143-Useless typedef declaration (no declarators present) (/Applications/Free PGI.app/Contents/Resources/pgi/osx86-64/14.3/include/va_list.h: 34)
PGC/x86-64 OSX 14.3-0: compilation completed with warnings
balay@imav^~/junk $ cat y.c
#include <stdarg.h>
#include <stdio.h>
int main(int argc,char **args)
{
printf(“testing\n”);
return 0;
}
balay@imav^~/junk $ pgcc y.c
PGC-W-0114-More than one type specified (/usr/include/sys/_types/_va_list.h: 31)
PGC-W-0143-Useless typedef declaration (no declarators present) (/usr/include/sys/_types/_va_list.h: 31)
PGC/x86-64 OSX 14.3-0: compilation completed with warnings
balay@imav^~/junk $