- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I am using ISSM 2015 version 2015.3.022 in a VM running Ubuntu OS. I did not use Eclipse to build my source code and instead, I build the code from a shell by calling the make utility.
Everything seems working fine except that there are a lot of warnings like this:
====================================================================================
/opt/intel/issm_d1000_2015.3.022/tools/compiler/include/stdlib.h:122:65: warning: unknown attribute '__warning__' ignored [-Wattributes]
char * _EXFUN(_mktemp_r, (struct _reent *, char *) _ATTRIBUTE ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))));
^
/opt/intel/issm_d1000_2015.3.022/tools/compiler/include/_ansi.h:101:42: note: expanded from macro '_ATTRIBUTE'
# define _ATTRIBUTE(attrs) __attribute__ (attrs)
^
/opt/intel/issm_d1000_2015.3.022/tools/compiler/include/_ansi.h:65:35: note: expanded from macro '_EXFUN'
# define _EXFUN(name, proto) name proto
=====================================================================================
From the warnings, It looks like '__warning__' is not a recognized __attribute__ to the compiler but it is used in stdlib.h. Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mun Choy,
This warning message is related to function attributes as some of it may not be supported by the compiler. But this is just a warning, and should not give any problem on your rprogram.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mun Choy,
This warning message is related to function attributes as some of it may not be supported by the compiler. But this is just a warning, and should not give any problem on your rprogram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mun Choi,
I agree with Shahmi. These are compiler related warnings that I have reported to compiler engineers. They don't seem to have any negative effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Shahmi, Rahul,
Thanks for your reply. These warnings are all over the place of build messages. I have an interim solution to use "-Wno-attributes" but hopefully this can be addressed without suppressing the attribute warnings.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page