Jump to content

Recommended Posts

On 11/12/2024 at 2:42 PM, OzzyOuzo said:

Hello,

 

For some reasons, C modules are compiled as C++ and not plain C ..

Tried to force using option -x c

doesn't help...

 

How can C modules can be compiled as is rather than C++ by default ?

 

thx

What is wrong with C++ if you use it w/o it's whistles and bells?

Link to comment
https://forums.atariage.com/topic/375259-compiling-as-c-not-c/#findComment-5566353
Share on other sites

nothing is wrong with C++. C and C++ are different languages using different compilers.

A plain C source code will barely compile with C++ without major modifications as C++ is more strict at many levels for good or bad reasons ^^

Thus, while porting projects , defaulting to a C++ compiler while compiling C modules is requiring unnecessary extra work and pain.

Link to comment
https://forums.atariage.com/topic/375259-compiling-as-c-not-c/#findComment-5566388
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...