Jump to content

Fraser

Members
  • Content Count

    64
  • Joined

  • Last visited

Posts posted by Fraser


  1. The final contextual keyword is never highlighted with any version of Builder I've had.  The override contextual keyword is though and they were both introduced with C++11.

     

    Another thing I've been disgruntled with is the lack of the Build order setting for some project types.  LIB projects in particular.  I have C++ Builder 12.1.


  2. The message [ld.lld Error] ld.lld: error: undefined symbol: FMXmain will appear if a projects source file is deleted, or closed if it hadn't been saved.  I have accidentally discovered this while using a small console application.  It did not use Fire Monkey.


  3. I created a project to match the previous one.  It has not completed linking.  The source files have not moved.  I think there is a bug with Builder since it shouldn't have anything to do with FMXmain.  It is a DLL project with VCL.  I have similarly converted some other projects that are static libraries.


  4. I built a new project  for C++ Builder 12.1 by copying everything from my 11.3 project.  It has not successfully linked yet.  These are the last messages.

     

    [ld.lld Warning] ld.lld: warning: duplicate symbol: vtable for __cxxabiv1::__class_type_info
    [ld.lld Error] ld.lld: error: undefined symbol: FMXmain

     

    It does not and has never used Fire Monkey.


  5. With the 12.1 64-bit modern compiler the include directory windows\crtl is omitted.  I am assuming it has problems that could not be resolved for that verion of C++ Builder.  Is this fixed with 12.2?  Is there any way to use gettime and getdate of the header dos.h with 12.1 64-bit modern?


  6. I have found that the parallel processing feature is removed with 12.1 Clang 64 modern and is brought back and enhanced with 12.2.  I also have a message about an unknown argument -PD.  I don't feel that 12.1 was tested before release with static library projects.


  7. I started a new static LIB project on C++ Builder 12.1.  In Project Option, Project Properties, General where has 'Run C++ compiler in a separate process' gone?  Also where is 'Number of subprocesses'?  When I built the LIB I had the message unknown argument --jobs=1, which is related to the missing options.


  8. I don't use the classic compiler.  I can compile all of the unit this is in with the classic compiler and it has some code of C++11 and later.  I think you said somewhere it only supports C++03 but I am not seeing that.

     

    The message is 'alaignas' attribute cannot be applied to types.  Taken literally that doesn't make sense.  An alias declaration can have it and they have types.

     

    alignas(T) is an improvement to the original code.


  9. I am using C++ Builder 11.  alignas does not see,m to fully implemented.  It is a C++11 feature so it isn't that new.  This code produces an error saying alignas cannot be applied to types.  It does seem to be valid code.

     

    template <
        typename T
    >
    struct CreateStatic {
        static T* Create() {
            static char alignas(std::max_align_t) staticMemory_[sizeof(T)] ;
            return new (&staticMemory_) T;
        }

        static void Destroy(T* const p) {
            p->~T();
        }
    };

     


  10. If I make a small console application without saving it I can build and run it once.  Than I get [ilink32 Error] Fatal: Could not open .\Win32\Debug\Project1.exe (error code 1224).  This always happens now with Builder 11.3.  If I use the Clean option I get [Delete Error] Unable to delete file ".\Win32\Debug\Project1.exe". Access to the path 'C:\Users\Fraser Ross\Documents\Embarcadero\Studio\Projects\Win32\Debug\Project1.exe' is denied.

×