Page MenuHomePhabricator

solve compiler (gcc) warnings between __attribute__ ((__malloc__)) and __attribute__ ((__pure__))
Closed, ResolvedPublic


warnings like these are really annoying. the attribute malloc and pure are only available on gcc, so malloc should be removed when pure is used.

/usr/include/eina-1/eina/eina_module.h:249:2: warning: ignoring attribute ‘malloc’ because it conflicts with attribute ‘pure’ [-Wattributes]
  eina_module_environment_path_get(const char *env, const char *sub_dir) EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2);
ProhtMeyhet triaged this task as Normal priority.
Herald removed a project: Restricted Project. · View Herald TranscriptMar 18 2019, 6:22 PM
bu5hm4n closed this task as Resolved.Mar 23 2019, 9:48 AM
bu5hm4n claimed this task.
bu5hm4n added a subscriber: bu5hm4n.

I think this was resolved a while ago, feel free to reopen if you see it again :)