Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / Packages / unix
Source project has a limited visibility.
  • Moritz Angermann's avatar
    b5b62536
    Android doesn’t have mkstemps · b5b62536
    Moritz Angermann authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    However the check similarly to tell and seekdir succeeds. However we will generate the following error down the line:
    ```
    /var/folders/fv/xqjrpfj516n5xq_m_ljpsjx00000gn/T/ghc13524_0/ghc_2.c:11:104: error:
         warning: implicit declaration of function 'mkstemps' is invalid in C99 [-Wimplicit-function-declaration]
       |
    11 | HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
       |                                                                                                        ^
    HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
                                                                                                           ^
    ```
    b5b62536
    History
    Android doesn’t have mkstemps
    Moritz Angermann authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    However the check similarly to tell and seekdir succeeds. However we will generate the following error down the line:
    ```
    /var/folders/fv/xqjrpfj516n5xq_m_ljpsjx00000gn/T/ghc13524_0/ghc_2.c:11:104: error:
         warning: implicit declaration of function 'mkstemps' is invalid in C99 [-Wimplicit-function-declaration]
       |
    11 | HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
       |                                                                                                        ^
    HsInt32 ghczuwrapperZC1ZCunixzm2zi7zi2zi1ZCSystemziPosixziTempZCmkstemps(void* a1, HsInt32 a2) {return mkstemps(a1, a2);}
                                                                                                           ^
    ```
Code owners
Assign users and groups as approvers for specific file changes. Learn more.