Jump to content

Fraser

Members
  • Content Count

    58
  • Joined

  • Last visited

Everything posted by Fraser

  1. Fraser

    Where is the VC++ option check box

    With 12.1 DllMain has been changed to _libmain. It also has a different signature to DllEntryPoint. extern "C" int _libmain(unsigned long reason) { return 1; }
  2. Fraser

    Notice on C++ Webinar today

    I think it is saying 5 hours and some minutes. Does anyone else have trouble with GetIt servers today?
  3. Fraser

    12.1 missing options

    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.
  4. Fraser

    12.1 missing options

    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?
  5. Fraser

    12.1 missing options

    I have noticed the option 'Run C++ compiler in a separate process' with 12.1 that should not be seen will occasionally appear.
  6. Fraser

    12.1 missing options

    When I compile a unit for Windows 64-bit Modern with 'Enable all warnings' on and get many warnings and hints the dialog box says there are 0 warnings and 0 hints.
  7. Fraser

    12.1 missing options

    I am getting some compiling done now. Is per file overrides set by right clicking on a project file and selecting edit local options? I haven't looked at this before.
  8. Fraser

    12.1 missing options

    Is there any way to remove the arguments?
  9. Fraser

    12.1 missing options

    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.
  10. Fraser

    Stand alone EXE

    Some of these suggestions don't apply to C++ Builder.
  11. Fraser

    alignas

    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(); } };
  12. Fraser

    alignas

    That is the bug, thanks. alignas does compile with the classic compiler so that list could be incomplete.
  13. Fraser

    alignas

    I have installed a trial of C++ Builder 12.1. The bug is still present with Clang 15.
  14. Fraser

    alignas

    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.
  15. Fraser

    Changes in the C++ Builder 12.0 editor

    The startup script errors seem to have stopped.
  16. Fraser

    File access denied

    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.
  17. Fraser

    File access denied

    I've been told it will be fixed in the next version.
  18. Fraser

    File access denied

    I appear to have solved this by shutting down Webroot SecureAnywhere and restarting it.
  19. Fraser

    File access denied

    The file appears to remain open in C++ Builder. Even after closing the IDE it is still open.
  20. Fraser

    CE registering problem

    I have tried to install the newly available community edition which is 11.0. The Embarcadero site tells me: Your download should begin immediately for C++Builder Community Edition 11.3 Alexandria installer. My serial number does not seem to be matching to the installed software. It says something about Delphi which is another incorrect thing when I try to register. Has someone made a complete mess of things? My e-mail with the serial number gives a link to an installation program for 11.3 : RADStudio_11_3_esd_28_13236.exe
  21. Fraser

    Changes in the C++ Builder 12.0 editor

    10.1 Berlin started ok but now its back to displaying the error messages. I still have the stripe on the starting picture.
  22. Fraser

    Changes in the C++ Builder 12.0 editor

    This is my faulty startup picture. It still has the stripe after reinstalling.
  23. Fraser

    Changes in the C++ Builder 12.0 editor

    That would be laughed at. It is probably itself or Delphi. Does anyone have 10.1 Berlin installed? I have been getting many script errors while starting it recently and after reinstalling it. I also have a blank strip across the startup picture that is still there after reinstalling.
  24. Fraser

    Compiling code originally for VS in C++Builder

    This is an old conversation but you are giving the wrong idea about extern "C". It is the linkage specifier.
  25. Fraser

    CE project option

    Does the project option 'Show header dependencies in project manager' work with the community edition? I was trying the option but my cbproj file got corrupted and I've had to retrieve a backup.
×