3 Replies
      Latest reply on Oct 27, 2019 9:38 AM by Tlaloc
      0xPlay Level 1 Level 1 (0 points)

        I can't figure out why I'm getting the warning


        • Implicitly declaring library function 'printf' with type 'int (const char *, ...)'
        • Include the header or explicitly provide a declaration for 'printf'


        The header was included.




        *Using Xcode 11.1 the default Xcode compiler MacOS Catalina.

        Something is wrong with the Xcode on the new MacOS Catalina? I'm missing something?

        Thanks in advance

        • Re: C: Semantic issue
          c.d.lee0811 Level 1 Level 1 (0 points)

          I'm getting the same semantic errors has anyone figured this out?

          • Re: C: Semantic issue
            Tlaloc Level 1 Level 1 (0 points)

            "Something is wrong with the Xcode on the new MacOS Catalina?"


            Yes and Yes. XCode 11 logs all kinds of spurious errors. There are several threads about this. XCode logs errors when you try to include some UI objects from Interface builder, such as NSPopupButton and NSBoxCustom.


            There's some chance that #import would work better than #include. Also you could try to clean the build folder and rebuild the project. You can get XCode 10.3 from the developer site but Catalina won't uncompress it unless you upgrade to the first update of Catalina. There's a thread about this as well. Good Luck.