This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compiler error #3734

Hello,

compiling my source code, I encountered the following compiler error:

"no source": Error: #3734: __packed qualifier dropped when passing argument to unprototyped function

The MCU architecture is Cortex-M0.

The error is triggered when I change the compiler optimisation from o2 to o3. All the routines that the compiler labelled as unprototyped have the prototype in a separate header file.

I tried to find information about this error but without success. Could you help me in understanding the source of the issues and how to work on a workaround eventually?

Thanks in advance for all your support.

Regards,
Alessandro

Parents
  • Hi,

    the prototypes are always included and never disabled by specific #ifs.., aside from the main #ifdef - #define - #endif, of the header file.

    After a lot, still no result, the error is still there when o3 is enabled.

    Any ideas of what could be a possible workaround?

    Cheers,
    Alessandro

Reply
  • Hi,

    the prototypes are always included and never disabled by specific #ifs.., aside from the main #ifdef - #define - #endif, of the header file.

    After a lot, still no result, the error is still there when o3 is enabled.

    Any ideas of what could be a possible workaround?

    Cheers,
    Alessandro

Children