This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ada/37641: Remplace mingw FILE_WRITE_PROPERTIES by FILE_WRITE_EA


> As outlined in PR ada/37641, FILE_WRITE_PROPERTIES doesn't exist
> anymore on mingw and has been replaced by FILE_WRITE_EA.
> 
> Documentation from Microsoft confirms that FILE_WRITE_EA is
> the correct macro to use, and doesn't document FILE_WRITE_PROPERTIES:
> 
>   http://msdn.microsoft.com/en-us/library/aa394063(VS.85).aspx
> 
> Arnaud, is it ok to commit the following patch so that adaint.c
> can be compiled again?
> 
>     gcc/ada/
> 	* adaint.c (__gnat_set_non_writable): Use FILE_WRITE_EA
> 	instead of deprecated FILE_WRITE_PROPERTIES.

Yes, that's OK.

Arno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]